Debugging a design is a complicated process and often needs to
switch between views/reports. The Vitis IDE supports
this functionality and allows detailed inspection of events and their associated timing.
Cross probing allows you to probe data in different views allowing you to view I/O data
from different perspectives, including data on a particular tile or port, and at what
time an event occurred, all within the same window. The Trace and Graph views can be shown in the same window and moving the
time marker in the Trace view
or selecting object(s) in the Graph view applies to both views simultaneously.
- Use the New Horizontal
Group and
New Vertical Group
toolbar buttons () to manage views/reports. - In the following image, the Trace and Graph view are selected to appear in the same window.
- Use the filter button () to select tiles, functions, input/output ports, DMA, and locks to be included or excluded from the Trace view to focus on areas of interest.
- Drag the time marker to move the time backwards and forwards to evaluate events at a given time. Events occurring after the selected time are highlighted in the events table of the Trace view at the bottom of the screen.
- Select objects in the Graph view to map graph, tiles, I/O ports, and net connections to see the object ID, type, direction, data type, buffers, and connected ports.
- Values of I/O ports are available in the Trace view, shown circled in the
following image. This example design uses complex 16 bits value type (
cint16
).
These steps show an output port object in the
Graph view (on the right
side) at 1,962.400 ns into the design execution and in the Trace view (on the left side) where the output
data is available. Moving the time marker to a later time in the Trace view, the events in the events table
(lower portion of the Trace
view) are highlighted to indicate which events happened at that time. This information
is useful to relate events in a multi-processor environment. Other examples can leverage
this cross probing feature in the Vitis
IDE.