Designing IIR filter for an FPGA – Fixed Point Implementation

Data type optimization to find the optimal data types to convert floating point IIR filter model

283 Downloads

Updated 23 Mar 2018

View License

In Simulink, you can design signal processing algorithms such as IIR filters, FIR filters etc. In this example, we show how you can take a IIR filter design in floating-point and convert it to a fixed-point model.
The data type optimization feature in Fixed Point Designer:
• Automatically iterates and chooses the smallest heterogeneous data types for your system under design while meeting behavioral constraints
• Optimizes bit width by choosing smallest data types that can meet the user specified tolerances for quantization noise
The download contains an IIR filter using floating point data type and a script that uses data type optimization to convert it to an optimal fixed-point design.
Please refer to the following documentation link to learn more about this feature:
Data type optimization: http://www.mathworks.com/help/fixedpoint/ref/fxpopt.html
Video demonstration: https://www.mathworks.com/videos/data-type-optimization-1520281452641.html

Cite As

MathWorks Fixed Point Team (2023). Designing IIR filter for an FPGA – Fixed Point Implementation (https://www.mathworks.com/matlabcentral/fileexchange/66478-designing-iir-filter-for-an-fpga-fixed-point-implementation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Updated example & added video link
Added copyright notice.