Debugging Only the AI Engine Hardware - 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 6 in Hardware Debug from the Command Line. Then, instead of step 7, continue by using the following step:

  1. After the board and the hw_server are up and running, launch the Vitis IDE in stand-alone debug mode in a separate terminal window:
    vitis -debug -flow embedded -os baremetal -host gandalf \
    -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 the baremetal OS of the AI Engine domain.
    -host gandalf
    Specifies the host name of the hw_server (see Step 5 of Hardware Debug from the Command Line).
    -launch_script <aie_project>/aie_app_debug.tcl
    Specifies the Tcl script from Step 6 of Hardware Debug from the Command Line, which sets up the AI Engine debug environment.

    This opens the Vitis IDE, displays the Debug perspective, and loads the debug configuration for the AI Engine application.

    Figure 1. AI Engine Debug Configuration