06-13-2018 12:19 AM - edited 06-13-2018 12:34 AM
Introduction
This Video Beginner Series 7 helps you understand how the Xilinx AXI4-Stream to Video Out IP is working.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Summary
1. Understanding the AXI4-Stream to Video Out
2. AXI4S to Video Out IP - Detail on the Output Synchronizer
3. Tutorial - Video AXI4-Stream to video Out in Slave timing mode
06-13-2018 12:22 AM - edited 06-13-2018 12:35 AM
Understanding the AXI4-Stream to Video Out
The figure 1-1 of PG044 shows a diagram of the AXI4-Stream to Video out core.
We can divide the core in 3 parts:
The data are going through a FIFO and are then formatted (to follow the AXI4-Stream encoding for Xilinx Video IPs as per UG934). The AXI4-Stream starts to output the data only when it gets the locked signal from the synchronizer.
The timing signals are only going through the AXI4-Stream to Video Out from the VTC without any alteration. The AXI4-Stream starts to output the timing signals only when it gets the locked signal from the synchronizer.
The Output Synchronizer block takes the frame boundary information signals from the AXI4-Stream (Start Of Frame (SOF - carried by tuser) and End Of Line (EOL - carried by tlast)) and the timing signals from the VTC IP as input to synchronize the data and the timing signals. Depending on the timing mode, Master or Slave, it will control the VTC (using vid_gen_ce) or the internal FIFO to achieve the synchronization.
A detail explanation of the Timing mode is provided in the PG044, Chapter 3: Designing with the Core, Timing mode section.
06-13-2018 12:24 AM
AXI4S to Video Out IP - Detail on the Output Synchronizer
The figure 3-10 from the PG044 shows how the synchronizer is working:
The AXI4-Stream to video out will first enter in a Coarse Alignment phase (also called initial Alignment), then in a Fine Alignment before getting locked.
A detail of the Corse Alignment and Fine Alignment is provided in PG044.
The current phase can be followed by looking at the status output of the AXI4-Stream to Video Out
06-13-2018 12:25 AM - edited 06-13-2018 12:30 AM
Tutorial - From AXI4-Stream to Native Video
Note: This tutorial is intended to be used only with Vivado 2018.1 and only in simulation
Note 1: A valid license for the Test Pattern Generator is required to build the design.
Note 2: The design is the same as the Video Beginner 6.
06-13-2018 12:31 AM - edited 06-20-2018 03:59 AM
What Next?