External Memory Interface Handbook Volume 2: Design Guidelines: For UniPHY-based Device Families

ID 683385
Date 3/06/2023
Public
Document Table of Contents

8.4.4. Functional Simulation with VHDL

The Stratix 10 EMIF VHDL fileset is provided for customers who want to generate the top-level RTL instance of their Stratix 10 EMIF cores in VHDL.

The top-level IP instance file is guaranteed to be written in VHDL; submodules can be deployed as Verilog/SystemVerilog (encrypted or plaintext) files, or VHDL files. ModelSim* - Intel FPGA Edition is not restricted to a single HDL language; however, some files may be encrypted to be excluded from the maximum unencrypted module limit of this tool.

Because the VHDL fileset consists of both VHDL and Verilog files, you must follow certain mixed-language simulation guidelines. The general guideline for mixed-language simulation is that you must always link the Verilog files (whether encrypted or not) against the Verilog version of the libraries, and the VHDL files (whether SimGen-generated or pure VHDL) against the VHDL libraries.

Simulation scripts for the Synopsys, Cadence, Aldec, and Mentor Graphics simulators are provided for you to run the example design. These simulation scripts are located in the following main folder locations:

Simulation scripts in the simulation folders are located as follows:

  • <variation_name>_example_design\sim\mentor\msim_setup.tcl
  • <variation_name>_example_design\sim\synopsys\vcsmx\vcsmx_setup.sh
  • <variation_name>_example_design\sim\synopsys\vcs\vcs_setup.sh
  • <variation_name>_example_design\sim\cadence\ncsim_setup.sh
  • <variation_name>_example_design\sim\aldec\rivierapro_setup.tcl

Simulation scripts in the <>_sim_folder are located as follows:

  • <variation_name>_sim\mentor\msim_setup.tcl
  • <variation_name>_sim\cadence\ncsim_setup.sh
  • <variation_name>_sim\synopsys\vcsmx\vcsmx_setup.sh
  • <variation_name>_sim\aldec\rivierapro_setup.tcl

For more information about simulating Verilog HDL or VHDL designs using command lines, refer to the Mentor Graphics ModelSim* and QuestaSim Support chapter in volume 3 of the Quartus Prime Handbook.