Analyzing Run Results - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2024-03-05
Version
2023.2 English

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.

  1. Open the aie/kernels/data_shuffle.cc kernel file, and comment out the line if(remainder == 0), and regenerate the sd_card.img file (do make all TARGET=hw).