HiSparse
HiSparse copied to clipboard
Enable sw_emu on Vitis HLS v2021.2
Summary of making sw_emu work, based on the HLS hardware codes of last release https://github.com/cornell-zhang/HiSparse/commit/f35c82a8b384172a6530e8ee8010c608a4230f06:
- Use
ap_axiufor AXI-4 stream in kernel interface, and self-definedVEC_AXIS_Tfor FIFO inside kernel respectively - Modify stream duplicator & merger to transform between
ap_axiu(external stream port) andVEC_AXIS_T(internal stream FIFO) - Remove exit condition in kernel k2k_relay, to support multiple tests in host program
The implementation is tested on Vitis HLS v2021.2, targeting platform Xilinx Alveo U280.