Test the Application on Hardware Emulation - Test the Application on Hardware Emulation - 2025.2 English - XD101

Vitis Tutorials: Platform Creation (XD101)

Document_ID
XD101
Release_Date
2025-12-11
Version
2025.2 English

Note:Skip this step if you want to update the code to support hardware emulation.

Validating the application with hardware emulation can first test the base functions of the platform such as boot initialization, PetaLinux configuration, basic acceleration feature, etc. The DFX feature cannot be emulated in hw-emu. It must be emulated in hardware as described below:

  1. Launch Emulator for PS.

    1. Click Xilinx -> Start/Stop Emulator.

    2. Select Project: vadd_system, Configuration: Emulation-HW.

      Launch Emulator for Vadd Project

    3. Click Start

    There will be prints on the Emulation Console. Wait for it to boot Linux. The wait window will disappear after it detects Linux boot successfully.

  2. Launch PL emulation.

    1. Right-click vadd_system, select Run as -> Run Configurations.

    2. Select vadd_system-Default.

    3. Change Build Configuration to Emulation-HW.

    4. Click Run.

    5. Check run result.

      Vitis Emulation Vadd Result

  3. Stop the Emulator.

    1. Click Xilinx -> Start/Stop Emulator.

    2. Click Stop button.