Might be useful.
template <typename T> T Reg(const T& x) { #pragma HLS inline self off #pragma HLS interface ap_none register port=return return x; }
Reference
Vivado HLS UG902 2012.4
Might be useful.
template <typename T> T Reg(const T& x) { #pragma HLS inline self off #pragma HLS interface ap_none register port=return return x; }
Reference
Vivado HLS UG902 2012.4