Building the Hardware xclbin - 2023.1 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
Release Date
2023.1 English

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:

  1. You can enable the performance profiling by setting “ENABLE_PROF?=yes” in file as shown below:

  1. 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 file.