The XRT flow is as follows:
- Burn the generated sd_card.img to the physical SD card.
- Create the
xrt.inifile in the sd_card folder as described in this section to enable
xrt.inifile is shown in the following.
[Debug] aie_trace=true aie_trace_buffer_size=100M aie_trace_metrics = functions_all_stalls aie_trace_periodic_offload = true / false aie_trace_buffer_offload_interval_ms = 10 aie_trace_file_dump_interval_s = 3
aie_trace_periodic_offloadoption to enable offload trace data at regular intervals while the application is running. The default option is set to true.
aie_trace_buffer_offload_interval_msoption is used to specify every number of milliseconds AI Engine event when the trace data is read into trace buffers. This option is effective only when
aie_trace_file_dump_interval_soption to specify every number of seconds all the new received trace data is appended to event trace files. This option is effective only when
aie_trace_periodic_offloadfeature is supported with XRT flow and PLIO event trace port only. No circular buffer is supported. Trace data collection stops when buffer is full.
- Run the design on hardware to trace hardware events.
- Copy the captured trace data from the sd_card folder to your design at same level as
Workdirectory. The trace data is generated in the same location as the host application on the SD card. They are
- Use the Vitis Analyzer to import and
analyze data with this