Load AI Engine with XCLBIN - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2024-03-05
Version
2023.2 English

The host application loads the AI Engine with the XCLBIN with the xclloadxclbin() function.

The following snippet of code shows usage in the application shows how to load AIE. See the API Documentation.

//In load_xclbin()
...
if (xclLoadXclBin(device, top))
 throw std::runtime_error("Bitstream download failed");
...

If the AI Engine load fails, the load_xclbin() function throws an exception. A system reboot might be required.