Debugging Only the AI Engine Graph - 2021.2 English

Versal ACAP AI Engine Programming Environment User Guide (UG1076)

Document ID
UG1076
ft:locale
English (United States)
Release Date
2021-12-17
Version
2021.2 English

To debug just the AI Engine domain without the PS, follow steps 1 to 4 in Hardware Emulation Debug from the Command Line. Then, instead of step 5, continue by using the following step:

  1. After the QEMU environment and xrt_server are up and running, you can launch the Vitis IDE in standalone debug mode in a third terminal window:
    vitis -debug -flow embedded -os baremetal -port 4352 \
    -launch-script <aie_project>/aie_app_debug.tcl

    where:

    vitis -debug
    Launches the Vitis IDE in standalone debug mode.
    -flow embedded
    Specifies the embedded processor flow for the AI Engine processor.
    -os baremetal
    For bare-metal OS of the AI Engine domain.
    -port 4352
    Specifies the xrt_server port as discussed in Step 3.
    -launch_script <aie_project>/aie_app_debug.tcl
    Specifies the Tcl script from Step 4, which sets up the AI Engine debug environment.

    This opens the Vitis IDE with the Debug perspective displayed, and the debug configuration for the AI Engine application loaded.

    Figure 1. AI Engine Debug Configuration