- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so very much!
I had almost given up on this feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see that the case already has an accepted solution. Do you need any further support on this?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
thanks for asking, but the issue could be resolved with the instructions provided by DrNickels.
I'm just curious how that bug has gone unnoticed by Intel for so long.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The -novopt option is being deprecated in recent Questasim versions. So, that cause the issue.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any idea how in the Questasim GUI to remove -novopt when compiling? I understand the change mentioned above for starting the simulation (vsim) but I still see -novopt when compiling (vlog) and get errors from it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's in the Simulation/Simulation Settings window in the GUI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, I was talking about in Questasim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah. Sorry for misunderstanding. It is confusing that the simulator labelled "Simulation Waveform Editor" is called "vsim".
When I use a testbench in Quartus and call Questa (Intel FPGA Starter Edition - not sure if that's different from "Questasim") from there, I get the correct flags, so can't offer any help there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to add to the topic, as this piece of information might be useful to someone:
The Max10-FPGA is not supported for Timing Simulations (neither is the Cyclone V). However, when selecting any CycloneIV model the Timing Simulation does work perfectly fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @sstrell,
The IP generated simulation script offer 2 aliases: ld and ld_debug.
ld_debug has the -voptargs=+acc option to the vsim command. Once the script is sourced, you can choose to use the ld_debug alias to start elaboration.
Hope this helps.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not talking about generated scripts. I'm talking about going to Questasim, setting the directory to the location of the design files, and compiling the files from the Compile menu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think older QuetaSim simulator had an option 'Enable Optimization' when you do 'Start Simulation'. But in newer version, the option has been removed. So, if someone wants to migrate from older versions to newer, they need to drop the option -novopt from vsim command.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As the queries has been answered, setting the case to closure. However, it will still be open for community members to comment.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
- 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:
- .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
- In the waveform editor under Simulation -> Simulation Settings, hit Restore Defaults to initialize all file paths correctly
- 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
- Generate a license for Questa and link it to your installation (tutorial on youtube: youtube.com/watch?v=F6FvXga4f1A)
- .vwf file should be stored in project directory (not in output_files); no special characters (including spaces and -) in file path
- In the waveform editor under Simulation -> Simulation Settings, hit Restore Defaults to initialize all file paths correctly
- 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
- (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!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page