I am trying to generate a Fixed-Point IIR filter using the FDATOOL and the Filter Design HDL Coder. While the filter's output meets the frequency characteristics, the output dynamic range is poorly used. I am using 16-bit inputs and 16-bit outputs. Yet the highest magnitude output value is approximately 1005, indicating that not even 10 out of the 16 output bits are used. I have set the input fraction length to 15 and the world length to 16. I would like to get the filter output to use the entire dynamic range.
MATLAB: Does the filter generated using the Filter Design HDL Coder have limited dynamic range for the output
designdynamicfdatoolfilterFilter Design Toolboxfixed-pointiiroutputrange
Related Question
- Does HDL Code Generation fail for a FIR Filter, in the case that all of the filter coefficients reduce to zero value, when using Simulink HDL Coder 2.2 (R2011b)
- 16 bit input output parameter generation using HDLCoder
- Problem auto-scaling FIR coefficients
- How to avoid receiving the error “Scale value is beyond the range of the filter input” when trying to generate HDL code for the filter in the Filter Design Toolbox 3.3 (R14SP3) and Filter Design HDL Coder 1.3 (R14SP3)
- Can I use FDATool to design IIR low/ high pass filters specifying the Q value and the cutoff frequency
- How to visualize filter coefficients after fixed point conversion using FVTOOL
Best Answer