Synthesizable Example Design - 5.2 English

Video Mixer LogiCORE IP Product Guide (PG243)

Document ID
PG243
Release Date
2024-01-02
Version
5.2 English

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.

Figure 5-2: Synthesizable Example Block Design

X-Ref Target - Figure 5-2

v-mix-syn-des.png

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.

Figure 5-3: Export Hardware

X-Ref Target - Figure 5-3

Vitis_XSA_Creation.png

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

1.png

2. Select the new application project in File > New Application Project .

X-Ref Target - Figure 5-5

2.png

3. Select a platform to create the project.

X-Ref Target - Figure 5-6

3.png

4. Select the required xsa.

X-Ref Target - Figure 5-7

4.png

5. Click Next .

X-Ref Target - Figure 5-8

5.png

6. Name the application.

X-Ref Target - Figure 5-9

6.png

7. Select the processor and click Next .

X-Ref Target - Figure 5-10

7.png

8. Select the empty application.

X-Ref Target - Figure 5-11

8.png

9. Import the required files.

X-Ref Target - Figure 5-12

1_usefor_vpss_and_mix.png

X-Ref Target - Figure 5-13

2_usefor_mix.png

10. Build the project.

X-Ref Target - Figure 5-14