PL kernels can connect and interact with AI Engine graphs using streaming interfaces. The AXI4-Stream protocol implements these streaming interfaces.
Vitis HLS provides the hls::stream<> C++ class library to support 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, refer to
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. Use the hls::axis<> data type to model the AXI4-Stream sideband signals. For more information, refer to this link in the
Vitis High-Level Synthesis User Guide (UG1399).