In hardware you must prepare the design when
compiling the AI Engine graph application to
ensure the libadf.a supports capturing trace
data at run time. Event tracing in hardware builds begins with the aiecompiler
command, using the --event-trace
option. This option sets up the hardware
device to capture AI Engine run-time trace data
by informing the v++
linker to add and configure
debugging and profiling IP (DPA) to the PL region of the device.
There are three parts to the event trace flow as listed:
- Event trace build flow
- Running the design in hardware and capturing trace data at run time
- Viewing and analyzing the trace data using the Vitis analyzer