There is a Makefile included in the 01-rtl_kernel_workflow/reference-files folder. You can use this file to make the following targets:
make run TARGET=<hw_emu | hw> HOST=user
The Makefile will:
Build an AMD Vivado™ project to package the RTL design IP, and package a user-managed kernel (
.xo).Use the Vitis compiler (
v++) to link the kernel to the target platform and generate the.xlcbinfile.Compile the XRT native API host application
./src/host/user-host.cpp.If necessary generate the emulation platform and setup the emulation environment.
Run the application and kernel.
TIP: You can use the Makefile
-noption to generate the command lines without running the commands:make run TARGET=hw_emu HOST=user -n