To perform an x86 compilation/simulation, run:
make run TARGET=x86sim
List of all the Makefile targets:
make all TARGET=<aiesim/x86sim/hw_emu/hw> PLATFORM=<FPGA platform> # Command to generate the design for specified Target and Shell. make run TARGET=<aiesim/x86sim/hw_emu/hw> PLATFORM=<FPGA platform> # Command to run application in emulation. make clean # Command to remove the generated non-hardware files. make cleanall # Command to remove all the generated files.
Note
For embedded platforms, the following setup steps are required:
Starting with 2026.2, embedded platforms use the Yocto-based EDF common image. Install steps are in Getting Started with Versal AI Edge Gen2 with Vitis Unified IDE (XD098). After installing, build and run with
YOCTO_ARTIFACTSset:export YOCTO_ARTIFACTS=<path to design>/yocto_artifacts make run TARGET=<hw_emu/hw> PLATFORM=<FPGA platform>For 2026.1 and earlier releases, which use the PetaLinux-based common image:
- If the platform and common-image are downloaded from the Download Center (Suggested):
Run thesdk.shscript from thecommon-imagedirectory to install sysroot using the command:./sdk.sh -y -d ./ -pUnzip therootfsfile:gunzip ./rootfs.ext4.gzexport SYSROOT=<path-to-platform-sysroot>
- You could also define SYSROOT, K_IMAGE, and ROOTFS by themselves:
export SYSROOT=<path-to-platform-sysroot> export K_IMAGE=<path-to-Image-files> export ROOTFS=<path-to-rootfs>