[Op] Support get_slice/set_slice for integer numbers
Closed this issue · 1 comments
chhzh123 commented
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)