It is necessary to analyze the run results to handle the design stalls by tracking the status of the AI Engine design using:
Periodic AI Engine status output using XRT.
Manual AI Engine status - XBUtil utility.
AI Engine status using XSDB.
NOTE:
To understand practically how to analyze the results when the design stalls, a bug in the kernel source code is introduced and the sd_card image is regenerated. In the interest of time, if you like to use the already generated image file, skip directly to step 7. But you might not see the exactly same results shown below.
Here, different methodologies that are available to get the AI Engine status are provided to exercise. But, in your development cycle, you can choose any one based on the need.
Open the
aie/kernels/data_shuffle.cc
kernel file, and comment out the lineif(remainder == 0)
, and regenerate thesd_card.img
file (domake all TARGET=hw
).