Following is an example of how the m2s_x2
kernel is compiled.
v++ -c \
-t hw \
--platform xilinx_vck190_base_202310_1 \
--save-temps --optimize 2 \
--hls.jobs 8 -I$(XFLIB_DIR)/L1/include \
-I$(XFLIB_DIR)/L1/include/hw \
-I./kernel \
-k m2s_x2 \
--hls.clock 150000000:m2s_x2 \
--temp_dir ./build/_x_temp.hw.xilinx_vck190_base_202310_1 \
--report_dir ./build/reports/_x.hw_emu.xilinx_vck190_base_202310_1 \
-o './build/_x_temp.hw_emu.xilinx_vck190_base_202310_1/m2s_x2.xo' \
./kernel/m2s_x2.cpp
The same compilation options are used to compile the s2m_x4
, packet_sender
, and packet_receiver
kernels.