kaz1
Full Member level 6
We have a FIR design that uses reloadable coefficients. We want to exploit side coefficients as they are small values (0 to +/- 7 or so).
We use a percentage of filter length as small values and use this percentage as generic so that at compile time the dsp mapping is not done for such coefficients.
For such percentage there is simple logic/adders to get multiplication results instead of DSP blocks.
There is no problem implementing all that except that there is some uncertainty of the range of these small values as coefficients are reloadable and may have different scaling.
I can expand the value range or shrink it but I thought may be someone has done it before and might have some ideas as to best way to tackle this in a more efficient way.
I cannot use any logic to detect max value, nor can I assume a specific bitwidth for small values as any logic will be run-time and dsps will be inferred.
We use a percentage of filter length as small values and use this percentage as generic so that at compile time the dsp mapping is not done for such coefficients.
For such percentage there is simple logic/adders to get multiplication results instead of DSP blocks.
There is no problem implementing all that except that there is some uncertainty of the range of these small values as coefficients are reloadable and may have different scaling.
I can expand the value range or shrink it but I thought may be someone has done it before and might have some ideas as to best way to tackle this in a more efficient way.
I cannot use any logic to detect max value, nor can I assume a specific bitwidth for small values as any logic will be run-time and dsps will be inferred.