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:
- 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>