Compiling the Design for x86 Simulation - Compiling the Design for x86 Simulation - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.2 English

Follow these steps to compile the design for x86 simulation:

  1. Review the Makefile. Note that you can set TARGET to x86sim or hw.

  2. Pass the argument for TARGET as x86sim.

  3. Observe that the v++ compiler mode is set to aie, indicating that the aiecompiler was called. The configuration file generated in the previous step is passed here as --config <CONFIG_FILE_NAME>.

    ifeq ($(TARGET), x86sim)
      v++ -c --mode aie --config aie_config_x86sim.cfg ${DSPLIB_INCLUDE}
    else ifeq ($(TARGET), hw)
      v++ -c --mode aie --config aie_config_hw.cfg ${DSPLIB_INCLUDE}
    endif
    
  4. Enter the following command to compile the design for x86sim:

    make aiecompile TARGET=x86sim
    
  5. After successful compilation, simulate the design using the x86 simulator.