After emulation is complete, you can look at the profiling and VCD trace data that was also generated at the same time. Note that if profiling and VCD signal features are not used, emulation runs faster.
Using the XSIM Waveform GUI to view waveforms is powerful in allowing you to see the data path and flow of the design, as well as debug potential issues like a hang. However, this will only show the programmable logic side of the system. To investigate the AI Engine signals, you need to use the VCD trace in the Vitis analyzer. To use the Vitis analyzer, open up a
Open the run summary of the design by running the following command.
vitis_analyzer sw/sim/behav_waveform/xsim/default.aierun_summary &
When the summary is open, you should see something similar to the following.
Here you can see various reports: Summary, Trace, Profile, Graph, Array. Click on Trace to open up the VCD data that was collected during hardware emulation.
Here you can see the inner traces of the graph through a tile hierarchy. Selecting a net, tile, function, or any object in this view will cross-select to various views. This can help with identifying specific nets and functions.
Open the Graph view and click on the Buffers tab.
To find the RTP buffers, click on the search button () and type in
You should see a window like the following.
Select the three
coeffsbuffers, and click the Trace view again, and see that the lock signals are highlighted.
If you scroll up you can see that the FIR filter kernel begins to process data soon after the RTP is read.