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