The v++ --debug
opiton is used to enable the ILA IP core and insert in the design. This needs to be specified during the linking stage in the design cycle.
Open the
Makefile
, locate theVPP_LINK_FLAGS
, and add the following options to the existing ones:--debug.chipscope s2mm_1:s --debug.chipscope s2mm_2:s --debug.chipscope mm2s:s
Notice here the
s2mm_1:s
,s2mm_2:s
, andmm2s:s
. The syntax is<Compute Unit name>:<Interface name>
.Make sure the compute unit name matches with the one specified in the
system.cfg
file. In this exercise, monitor the stream output frommm2s
module going to theAI Engine, going tos2mm
module.NOTE: V++ allows multiple
--debug.chipscope
lines to meet design debug needs.Build the design. Especially, if you have already compiled the AI Engine design and PL modules, it is required to run the linking step in the
Makefile
and repackage to generate the SD card image.make clean make all
Inspect the ILA insertion by opening AMD Vivadoâ„¢, and click Open Block Design in IP INTEGRATOR.
vivado _x/link/vivado/vpl/prj/prj.xpr`
Flash the SD card with the ILA-enabled design, plug in the flashed SD card on to the
VCK190
SD card slot, and boot up the board.