Setting up Quartus to run ModelSim

Quartus uses ModelSim (Altera Edition) to perform simulation. ModelSim is even used for Vector Waveform files. ModelSim and Quartus are two entirely separate applications that loosely communicate with each other.

You typically invoke ModelSim from Quartus via the Tools -> Run Simulation Tool -> RTL Simulation menu

Invoking ModelSim from within Quartus

However, if you’ve every tried to run ModelSim without having set it up, you might have encountered the following error:

Error Dialog when trying to run ModelSim from Quartus

This is indicating that Quartus does not know which version of ModelSim to run and where it resides on your disk. I am assuming you are using ModelSim ASE (Altera Starter Edition). There is also a licensed version that is not free.

The good news is that to resolve this is a one-off task. Open the Quartus Options dialog box by selecting the Tools -> Options menu

Accessing the Options Dialog

You should now see a dialog box similar to that below. Expand the general category and click EDA Tool Options.

Quartus Options Dialog

In the Model-Sim Altera box, you need to add the path to the folder that contains ModelSim ASE. For Windows, the location of this is:

[Quartus Root Folder]\modelsim_ase\win32aloem

Examples:

  • For my machine, it is C:\intelFPGA\16.1\modelsim_ase\win32aloem
  • For the lite version of Quartus, it is probably C:\intelFPGA_lite\16.1\modelsim_ase\win32aloem
My own EDA Tools Options – yours may vary

 

You should not be able to launch ModelSim from within Quartus and use vector waveforms.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.