External Memory Interfaces Agilex™ 7 M-Series FPGA IP Design Example User Guide

ID 772632
Date 11/18/2024
Public
Document Table of Contents

2.6. Generating the EMIF Design Example for Simulation

For the Agilex™ 7 M-Series development kit, it is sufficient to leave most of the Agilex™ 7 M-Series EMIF IP settings at their default values. To generate the design example for simulation, follow these steps:
  1. On the Example Designs tab, ensure that the Simulation box is set as True. Also choose the required Simulation HDL format, either Verilog or VHDL.
  2. Configure the EMIF IP and click File > Save to save the current setting into the user IP variation file (<user instance name>.ip).
  3. Click Generate Example Design in the upper-right corner of the window.

    Figure 25. Generate Example Design
  4. Specify a directory for the EMIF design example and click OK. Successful generation of the EMIF design example creates multiple file sets for various supported simulators, under a sim/ed_sim directory.
    Figure 26. Specifying a Directory
  5. Click File > Exit to exit the IP Parameter Editor Pro window. The system prompts, Recent changes have not been generated. Generate now? Click No to continue with the next flow.
    Figure 27. Generated Simulation Design Example File Structure
    Note: The External Memory Interfaces Agilex™ 7 M-Series FPGA IP currently supports only the VCS, ModelSim/QuestaSim, and Xcelium simulators.
Note:

If you don't select the Simulation or Synthesis checkbox, the destination directory contains only Platform Designer design files, which the Quartus® Prime software cannot compile directly, but which you can view or edit in the Platform Designer. In this situation you can run the following commands to generate synthesis and simulation file sets:

  • To create an Quartus® Prime software-compilable project, run the
    quartus_sh -t make_qii_design.tcl
    script in the destination directory.
  • To create a simulation project, run the
    quartus_sh -t make_sim_design.tcl
    script in the destination directory.
Note: If you have generated a design example and then make changes to it in the parameter editor, you must regenerate the design example to see your changes implemented. The newly generated design example does not overwrite the existing design example files.
Note: For information on simulating the external memory interface IP, refer to Running Simulation .