Template Function scaleCompute

Function Documentation

template<int T_INDEX_INT, int T_COMP_INDEX_WIDTH, int T_COMP_INDEX_INT, int T_SCALE_WIDTH, int T_SCALE_INT, int INTERPOLATION_TYPE>
void scaleCompute(int currindex, ap_ufixed<T_SCALE_WIDTH, T_SCALE_INT> inscale, ap_fixed<T_COMP_INDEX_WIDTH, T_COMP_INDEX_INT> &ind_pre)