Issue- | Resolution |
---|---|
Trace packets are being dropped on certain streams. (This can be determined by observing black bars on event trace streams in the Vitis Analyzer GUI.) | Increase the number of trace streams coming out
of AI Engine
using the option
below.
|
Trace packets are being dropped on certain streams and the number of trace stream is 16 in a PLIO event trace flow. (This can be determined by observing black bars on event trace streams in the Vitis Analyzer GUI.) | Use advanced options in v++ system.cfg file to set the aie trace
clock frequency.
compiler.aieTraceClockSelect is the trace clock
frequency on the PL trace kernel. The exact frequency setting is
dependent on the platform used. Using the "fastest" option could
impact PL timing results. |
Kernel function names are not visible from trace. | This could be because the kernel is inlined
either by the compiler or via an attribute. Apply --xlopt=0 to compile the design or
specify kernel functions with __attribute__((noinline)) attribute to disable kernel
in-lining. |
Kernels start time are off by more than one hundred cycles. | Apply --broadcast-enable-core=true option to the compiler to
ensure the design starts all kernels in a few clock cycles
range. |
Tool issues a warning message indicating trace buffer is full. | Increase event trace buffer size. For the XSDB flow, specify larger value with
the
-depth option in the
AI Engine trace start
command.
For the XRT flow, update
xrt.ini file and aie_trace_buffer_size
line.
Note: The following warning message
is issued by both XSDB and XRT when the trace buffer is full.
Warning message: AI Engine Trace Buffer size is full, Device trace could be incomplete. |
Need to know if the PL is sending or receiving data to/from the AI Engine as expected. |
Add monitors on PL kernels and their memory-mapped AXI4 masters.
For example, to monitor every kernel master, add the following:
Running on hardware, add the following lines in
the
After
running the application on hardware, |