AI Engine event trace tools provide an in-depth
investigation into the operation and performance of a design. In support of this, a
number of settings are required to capture trace data at run-time. 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.
The event trace flow consists of three parts as follows.
- 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