Once the kernel functionality is verified, and its resource usage is satisfactory, the hardware kernel build process can be started. The kernel build process will create an xclbin file targetting the actual accelerator card. It is an FPGA executable file that can be read and loaded by the host onto the FPGA card. Building xclbin takes a few hours, and is built as shown below:
You can enable the performance profiling by setting “ENABLE_PROF?=yes” in
make_options.mk
file as shown below:
ENABLE_PROF?=yes
Launch the hardware run using the following comand:
make build TARGET=hw
TIP: You can use a prebuilt xclbin file if one is available by setting USE_PRE_BUILT_XCLBIN := 1 in the
make_options.mk
file.