AI Engine Runtime Stack - 2023.2 English

Versal Adaptive SoC System Software Developers Guide (UG1304)

Document ID
UG1304
Release Date
2023-10-18
Version
2023.2 English

Your PS applications can call system libraries to access AI Engine registers and load the kernel ELF files.

Bare-Metal
Your application can use the cardano_api.a library to access AI Engine registers. The cardano_api.a library calls aie_control and the AI Engine driver, to access the AI Engine register and device memory.
Figure 1. AI Engine Bare-Metal Runtime Stack

Linux
On Linux, an application can use AI Engine driver APIs or XRT APIs to interact with the AI Engine.
Figure 2. AI Engine Linux Runtime Stack