Compile the mm2s, and s2mm PL HLS kernels using the v++ compiler command - which takes in an HLS kernel source and produces an .xo file.
To compile the kernels, run the following command:
make kernels TARGET=hw_emu
or
v++ -c --mode hls --platform $PLATFORM_REPO_PATHS/xilinx_vek280_base_202510_1/xilinx_vek280_base_202510_1.xpfm --config pl_kernels/s2mm.cfg
v++ -c --mode hls --platform $PLATFORM_REPO_PATHS/xilinx_vek280_base_202510_1/xilinx_vek280_base_202510_1.xpfm --config pl_kernels/mm2s.cfg
To get more details about several options of v++ command line, refer to the Compiling HLS Kernels Using V++ topic in Section 3
The only extra switch that is added is -g, which is required to capture waveform data.