Emulation Debug for Embedded Processors - 2021.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2022-03-29
Version
2021.2 English

From within the Vitis IDE, launching debug for the software and hardware emulation builds include the following steps:

  1. In the Assistant view, right-click the Emulation-SW or Emulation-HW build and select Set Active to make the build active.
  2. From the Assistant view menu, select the Debug () command, and select the Launch on Emulator command to launch the debug environment.
    This will open the Launch on Emulator dialog box as shown in the following figure. This prompts you to confirm launching the emulation environment and connecting to it using a Linux TCF agent. Select Start Emulator and Debug to continue.

    This launches the emulation environment (QEMU), and loads the application in preparation for debugging. The application is paused as it enters the main() function. The Debug perspective is opened in the Vitis IDE, and you are ready to begin debugging your application.