--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.
Makefile, locate the
VPP_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
mm2s:s. The syntax is
<Compute Unit name>:<Interface name>.
Make sure the compute unit name matches with the one specified in the
system.cfgfile. In this exercise, monitor the stream output from
mm2smodule going to theAI Engine, going to
NOTE: V++ allows multiple
--debug.chipscopelines 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
Makefileand 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.
Flash the SD card with the ILA-enabled design, plug in the flashed SD card on to the
VCK190SD card slot, and boot up the board.