cornell-zhang/hcl-dialect

[Op] Support get_slice/set_slice for integer numbers

Closed this issue · 1 comments

Vivado HLS provides range selection for arbritray precision integers. We also need to support that by providing new operators GetIntSlice and SetIntSlice.

ap_range_ref ap_(u)int::range (unsigned Hi, unsigned Lo)
ap_range_ref ap_(u)int::operator () (unsigned Hi, unsigned Lo)

See the issue in HeteroCL repo.