AN 1000: Drive-on-Chip Design Example: Agilex™ 5 Devices

ID 826207
Date 7/08/2024
Public
Document Table of Contents

8.3.6.6. Generating VHDL for the DSP Builder Models for the Drive-on-Chip Designs

You can manually regenerate the VHDL for any of the DSP Builder models. The models are in <project>/non_qpds_ip/dsp_builder_models
  1. Start DSP Builder for Intel FPGAs.
  2. Change the directory to the <project>/non_qpds_ip/dsp_builder_models/<model>/.
  3. If you want a different numeric precision, edit the setup_<Simulink Model>.m file corresponding to the model before opening it.
  4. Load the model (slx extension). Check the status of the orange DSP Builder folding block. If the model includes it, folding is enabled. If it is removed or commented out, the model does not use folding.
  5. On the Simulation menu, click Start.
    DSP Builder generates the VHDL files in <project>/non_qpds_ip/dsp_builder_gen for the motor model and the FOC IP. You can change the output directory in the MATLAB Simulink project. Alternatively, you can select to build Verilog HDL.