Follow these steps to compile the design for x86 simulation:
Review the Makefile. Note that you can set TARGET to x86sim or hw.
Pass the argument for TARGET as x86sim.
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
Enter the following command to compile the design for x86sim:
make aiecompile TARGET=x86sim
After successful compilation, simulate the design using the x86 simulator.