For PCIe devices:
Compiling:
$ make all TARGET=< sw_emu | hw_emu | hw > # Command to build xclbin application
or
$ make host xclbin TARGET=< sw_emu | hw_emu | hw > # Command to build host and xclbin application sperate
Executing:
$ make run TARGET=< sw_emu | hw_emu | hw > # Command to run application in emulation
$ make cleanall # Delete generated files
Note: Before the 2022.2, HOST_ARCH
and SYSROOT
are required
for SoC shells. From the 2022.2, user no longer are required or
suggested to set HOST_ARCH
in command line flow, the HOST_ARCH
is now obtained from platform file.
For embedded devices:
Compiling:
$ make all TARGET=< sw_emu | hw_emu | hw > HOST_ARCH=< aarch32 | aarch64 [Option before 22.2] >
or
$ make host xclbin TARGET=< sw_emu | hw_emu | hw > HOST_ARCH=< aarch32 | aarch64 [Option before 22.2] >
Executing:
$ make run TARGET=< sw_emu | hw_emu | hw > HOST_ARCH=< aarch32 | aarch64 [Option before 22.2] >
$ make cleanall # Delete generated files