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
Added the video.