Prepare HLS kernels - 2025.1 English - XD098

Vitis Tutorials: Getting Started (XD098)

Document ID
XD098
Release Date
2025-06-17
Version
2025.1 English

There are three important factors to understand the requirement of HLS kernels: Memory Map to Stream (MM2S) and Stream to Memory Map (S2MM)

  • AI Engine kernel used in this design uses PLIO which expects the AXI-Stream as an input

  • APU and DDR connectivity is AXI-MM (memory map)

  • The MM2S and S2MM kernels are used as data movers to convert the data from AXI-MM to AXIS and AXIS to AXI-MM

In this chapter we will compile the C++ code to create HLS kernels.

  1. Compile of MM2S HLS kernel

  2. Compile of S2MM HLS kernel