Run the following make command to compile the design graph
libadf.a and launch the AI Engine simulator:
vitis_analyzer to open AI Engine simulator run result.
Trace tab in the Vitis Analyzer. The events are displayed as shown in the following figure:
It can be seen that the data transfer and kernel execution are overlapping.
Run the following make command to build image for hardware:
make package TARGET=hw
After the package is done, run the following commands in the Linux prompt after booting Linux from an SD card:
export XILINX_XRT=/usr cd /run/media/mmcblk0p1 ./host.exe a.xclbin
The host code is self-checking. It will check the output data against the golden data. If the output data matches the golden data after the run is complete, it will print the following: