AI Engine Runtime Stack - 2025.1 English - UG1304

Versal Adaptive SoC System Software Developers Guide (Versal AI Edge Series Gen 2 and Versal Prime Series Gen 2) (UG1304)

Document ID
UG1304
Release Date
2025-06-23
Version
2025.1 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