File Exchange

image thumbnail

Designing a CIC filter for an FPGA – Efficient Fixed-Point I

Data type optimization to find the optimal data types to convert fixed point CIC filter model

4 Downloads

Updated 18 Jul 2018

View License

In Simulink, you can design signal processing algorithms such as IIR filters, CIC filters etc. In this example, we show how you can take a CIC filter design in Fixed-point and convert it to an optimal fixed-point model that is efficient with respect to the resource utilization on an FPGA.
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 a CIC filter using 32 bit Fixed point data types and a script that uses data type optimization to convert it to an optimal fixed-point design. We have also included the optimal solution model which you get as the output of the optimization along with the resource utilization metrics from the Vivado toolchain.
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
https://www.youtube.com/watch?v=nkZAB7LIRXI

Comments and Ratings (1)

Jack Erickson

Updates

1.0.0.1

Updated thumbnail

1.0.0.0

Updated thumbnail

1.0.0.0

Added the video.

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