DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 5/01/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.5. Managing your Designs

DSP Builder supports parameterization through scripting.

Procedure

  1. To define many of DSP Builder advanced blockset parameters as a MATLAB workspace variables, such as clock rate, sample rate, and bit width, define these variables in a .m file.
  2. Run this setup script before running your design.
  3. Explore different values for various parameters, without having to modify the Simulink design.

    For instance, you can evaluate the performance impact of varying bit width at different stages of your design.

  4. Define the data type and width of Primitive library blocks in the script
  5. Experiment with different values. DSP Builder advanced blockset vector signal and ALU folding support allows you to use the same design file to target single and multiple channels designs.
  6. Use a script for device options in your setup script, which eases design migration, whether you are targeting a new device or you are upgrading the design to support more data channels.
  7. Use advanced scripting to fine tune Quartus Prime settings and to build automatic test sweeping, including parameter changes and device changes.