Simulation in HDL system is essential.
One calls that EDA for Electronic Design Automation.
It's like a debugger for a software program.
In this tutorial, we're going to see how to install ModelSim-Altera Starter Edition 10.1d simulation tool.
The Quartus II version used in this tutorial is the 13.0.1 Web Edition.
To be honest is not so easy to understand what are differences between ModelSim simulation tools.
It's necessary to understand that ModelSim is different from ModelSim-Altera.
ModelSim is a Mentor Graphics' product, itself split into two editions:
For more information, you could check that on the official Mentor Graphics's website: http://www.mentor.com/
The ModelSim Special Edition is sometimes changed by ModelSim Student Edition.
The ModelSim-Altera simulation tool has less performance than the Mentor Graphics' one. It's modified by Altera and comes also with two editions:
The two differences between ModelSim-Altera Starter Edition and ModelSim-Altera Edition are that simulation performance are best with MSAE and with the MSSE you cannot compile more than 10,000 lines of code.
There's of course another difference: MSSE is free, MSAE is paid.
If you're a beginner, don't worry you won't see any difference between both.
That's why we're using the ModelSim-Altera Starter Edition simulation tool in this tutorial.
Installation isn't difficult.
If you haven't already it, you just would have to download it and click Next, Next, and so on: http://www.altera.com/products/software/quartus-ii/modelsim/qts-modelsim-index.html
After installing it, there are two things important to set before starting using ModelSim-Altera Starter Edition.
From your Quartus software: Assignments > Settings... > EDA Tool Settings.
In the tab on the right, there is a table > in the EDA tools table, select at crossroads of Tool Type Simulation row and the Tool Name column > ModelSim-Altera from the dropbox.
Then choose from the Format(s) column >VHDL, Verilog or SystemVerilog, depending on your Hardware Description Language.
Finish by clicking OK.
To avoid this error:
Cannot launch the ModelSim-Altera software because you did not specify the path to the executables of the ModelSim-Altera software.
From your Quartus software: Tools > Options... > General > EDA Tool Options.
On the right, there is a tab with location of executable for few software.
Be careful, there are two different simulation tool, ModelSim and ModelSim-Altera.
Choose the second and browse until the modelsim.exe executable that there is where you have installed it, for example, on Windows OS, it could be:
With Linux it's the same, except the final directory name:
Then click OK.
Now your ModelSim-Altera Starter Edition simulation tool is ready to be used.
The most difficult was to understand what was each version.
The rest was quite easy.
Well done, you've made it.