AN 994: Drive-on-Chip Design Example for Intel Agilex® 7 Devices

ID 780361
Date 6/26/2023
Public
Document Table of Contents

7.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/shell for the motor model and in <project>/non_qpds_ip/user for the FOC IP. You can change the output directory in the MATLAB Simulink project. Alternatively, you can select to build Verilog HDL.