The difference between the Synthesizable design and the Simulation example design is the use of a microprocessor instead of the AXI VIP core as AXI4 master. In addition, the synthesizable design uses the MIG IP core for DDR memory access. The locked port of AXI4-Stream to Video Out is connected to axi_gpio_lock core and the processor polls the corresponding register for a sign that the test passed. This Figure shows a synthesizable example design.
The synthesizable example design requires both Vivado and AMD Vitisâ„¢ tools.
The first step is to run synthesis, implementation, and bitstream generation in Vivado. After all those steps are done, select File > Export > Export Hardware . In the window, select Include bitstream , select an export directory and click OK to create an XSA project.
X-Ref Target - Figure 5-3 |
The remaining work is performed in the AMD Vitis tool. The Video Mixer example design file can be found in the following Vitis directory:
(<install_directory>/<release>/data/embeddedsw/XilinxProcessorIPLib/drivers/v_mix_v6_1/examples/
The example application design source files (contained within examples folder) are tightly coupled with the v_mix example design available in Vivado IP catalog.
Perform the following steps to get the .elf file from the Vitis application.
1. Open the Vitis application.
X-Ref Target - Figure 5-4 |
2. Select the new application project in File > New Application Project .
X-Ref Target - Figure 5-5 |
3. Select a platform to create the project.
X-Ref Target - Figure 5-6 |
4. Select the required xsa.
X-Ref Target - Figure 5-7 |
5. Click Next .
X-Ref Target - Figure 5-8 |
6. Name the application.
X-Ref Target - Figure 5-9 |
7. Select the processor and click Next .
X-Ref Target - Figure 5-10 |
8. Select the empty application.
X-Ref Target - Figure 5-11 |
9. Import the required files.
X-Ref Target - Figure 5-12 |
X-Ref Target - Figure 5-13 |
10. Build the project.
X-Ref Target - Figure 5-14 |