HiSparse icon indicating copy to clipboard operation
HiSparse copied to clipboard

Enable sw_emu on Vitis HLS v2021.2

Open ueqri opened this issue 4 years ago • 0 comments

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_axiu for AXI-4 stream in kernel interface, and self-defined VEC_AXIS_T for FIFO inside kernel respectively
  • Modify stream duplicator & merger to transform between ap_axiu(external stream port) and VEC_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.

ueqri avatar Mar 19 '22 15:03 ueqri