Load AI Engine with XCLBIN - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.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.