Interfacing HLS Kernels to AI Engine Graphs - 2024.1 English

Versal Adaptive SoC Hardware, IP, and Platform Development Methodology Guide (UG1387)

Document ID
UG1387
Release Date
2024-06-19
Version
2024.1 English

PL kernels can connect and interact with AI Engine graphs using streaming interfaces. These streaming interfaces are implemented using the AXI4-Stream protocol.

Vitis HLS provides the hls::stream<> C++ class library to facilitate the modeling and synthesis of designs with streaming interfaces. In the Vitis kernel flow, Vitis HLS automatically infers AXI4-Stream interfaces from C++ code using the hls::stream<> class. For more information on this library, see this link in the Vitis High-Level Synthesis User Guide (UG1399).

In addition to the simple transfer of data, the AXI4-Stream protocol provides optional sideband signals to convey additional control information. The AXI4-Stream sideband signals can be modeled using the hls::axis<> data type. For more information, see this link in the Vitis High-Level Synthesis User Guide (UG1399).