Forum Discussion

NTA's avatar
NTA
Icon for New Contributor rankNew Contributor
3 years ago
Solved

University Program VWF Simulations in Quartus Prime Lite 21.1 vs Quartus II 13.x

Hello everyone,

I'm working on updating a university lab course from (old) Terasic DE1 boards and Quartus II 13.x to Terasic DE10-Lite boards and Quartus Prime Lite Edition 21.1.

While both software versions seem to be mostly identical, I can't get any simulations running. Everything else is working perfectly fine.

So far, the course has relied on the "University Program VWF Simulations" and the "Simulation Waveform Editor" for some very basic simulations. Is that no longer supported in Quartus 21.1?

In Quartus II there was an option for "Quartus II Simulator" in the simulation settings that needed to be selected, but I can't find anything comparable in Quartus Prime.

Since FPGAs are only one chapter of the entire course, we would like to keep it simple and therefore are hesitant to using the full version of Questa.

Where I'm currently stuck:

  • Quartus Prime Lite Edition 21.1 installed (and already reinstalled)
  • Extremely basic test project: Input (switch) -> NOT -> Output (LED)
  • Shortest possible file path for that project (no spaces or other special characters in file path)
  • "Questa - Intel FPGA Starter Edition 2021.2" is installed and linked to a local license
  • "Simulation Settings" are set to Default
  • Running the Functional/Timing Simulation leads to: "Error loading design"

Am I missing something?

Thank you all very much in advance!

Greetings from Germany,

NTA

  • It still works. Here is a video I made for my class showing a simple circuit.

    The short of it is that you have to go to "simulation options" in the Simulation Waveform Editor and change

    vsim -novopt
    to
    vsim -voptargs="+acc".

16 Replies

  • NTA's avatar
    NTA
    Icon for New Contributor rankNew Contributor

    Summary of how to run University Program VWF Simulations in Quartus Prime

    Having done quite a bit of testing with various versions of Quartus Prime, here's a list of the necessary steps to get University Program VWF Simulations running in the different versions:

    • Quartus Prime 18.1 and 19.1:
      1. .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
      2. In the waveform editor under Simulation -> Simulation Settings, hit Restore Defaults to initialize all file paths correctly

    • Quartus Prime 20.1 and 20.1.1:
      1. .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
      2. In the waveform editor under Simulation -> Simulation Settings, hit Restore Defaults to initialize all file paths correctly
      3. The ModelSim Script (Simulation -> Simulation Settings) needs to be changed in both tabs (Functional and Timing Simulation) individually: Remove the -novopt from line 5

    • Quartus Prime 21.1 and 21.1.1
      1. Generate a license for Questa and link it to your installation (tutorial on youtube: youtube.com/watch?v=F6FvXga4f1A)
      2. .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
      3. In the waveform editor under Simulation -> Simulation Settings, hit Restore Defaults to initialize all file paths correctly
      4. The ModelSim Script (Simulation -> Simulation Settings) needs to be changed in both tabs (Functional and Timing Simulation) individually: Change the -novopt in line 5 to -voptargs="+acc"

    • Quartus Prime 22.1
      1. (Unkown)

    Timing Simulations:

    Not all FPGAs are supported for Timing Simulations (Functional and Timing simulation show identical results). For example, the MAX10 on the DE10-Lite Board that we use for our lab course isn't supported. However, for demonstration purposes the project's FPGA can be changed to any Cyclone IV model (make sure the Cyclone IV family has been installed). Be aware that his will delete all pin assignments! Afterwards, the project can be recompiled and in the Waveform Editor the Simulation Settings must be reinitialized by hitting Restore Defaults (Simulation -> Simulation Settings -> Timing Simulation). Since the last step overwrites all the changes that were made to the ModelSim Script, those have to be made again as described above (Quartus Prime 20.1 and newer).

    Should anyone find a way to use Quartus Prime 22.1, feel free to add instructions to this list.

    Thanks to anyone who contributed to the list by sharing their knowledge!