Kernel Debug - 2023.2 English

Vitis Tutorials: AI Engine

Document ID
Release Date
2023.2 English

The AI Engine Pipeline view in the Vitis IDE allows you to correlate instructions executed in a specific clock cycle with the labels in the Disassembly view. The underlying AI Engine pipeline is exposed in debug mode using the pipeline view.

  1. So to get the pipleline view, In the Flow navigator window, under AIE SIMULATION/HARDWARE, select the Run Settings under aie_component_aiesim_1 Configuration, select the check box Enable Pipeline View. enable_pipeline view

  2. Select Generate Profile from the Profile Options.

  3. Enter the debug, as explained in the Debug Using Vitis IDE Debugger section, to observe only a single core in the Debug window. The Pipeline View automatically comes up as soon as IDE enters the debug mode. pipeline view

  4. Click the Step Over button, and observe the changes in the pipeline view as well as the Cycle Count,Program Counter in Runtime statistics. The main advantage of the pipeline view is when you want to observe how many cycles a particular instruction takes.

  5. Once the debug is done, hit the Resume button to complete the simulation or the Terminate button to exit the debugger smoothly.