Open chengsonghust opened 6 years ago
Good question! The#pragma HLS pipeline
is probably not needed here, and probably not respected by the HLS compiler either. The idea was probably not to disturb the ability of the tool to pipeline through and including these registers. Feel free to remove the pragma, recompile and see if it makes any difference!
template T reg(T x) {
#pragma HLS pipeline
#pragma HLS inline self off
#pragma HLS interface ap_ctrl_none register port=return
return x;
}