Step 2: Generate m2s_x2.cpp and s2m_x4.cpp Datamover kernels - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English
make -f ./ksrc.mk GENKERNEL=Vitis_Libraries/utils/L2/scripts/generate_kernels SPEC=./kernel/spec.json TOOLDIR=./_krnlgen

Here you use the L2 Data-Mover generator tool (Vitis_Libraries/utils/L2/scripts/generate_kernels). This tool uses the kernel/spec.json specification to write kernel/m2s_x2.cpp and kernel/s2m_x4.cpp HLS kernel source files.