Setting up and Using ModelSim on Linux: A Comprehensive Guide, Slides of Verilog and VHDL
A step-by-step guide on how to install and use modelsim on a linux operating system. It covers setting up the environment, using the editor for vhdl source files, and running simulations in the background. It also highlights the ease of sharing libraries and mapping between them under linux.
Download Setting up and Using ModelSim on Linux: A Comprehensive Guide and more Slides Verilog and VHDL in PDF only on Docsity!
Using ModelSim under
LINUX
To use ModelSim on LINUX
First must have a path to the software
This is set up using a SETUP file
Use the LINUX command:
source /opt/local/mentormaster/SETUP.MODELSIM
You should a message back from this that it is Configuring Mentor Graphics Modelsim Only:
And an update to several environment variables:
MGC_HOME, MGLS_LICENSE_FILE, …, and the PATH updated.
Using Modelsim
Once you have done the source and setup the environment you can enter the command - vsim& - Note that he & puts the running of the command into background execution so you can continue to use the terminal window.
Using the editor
VHDL source files are plain text files
If you use Microsoft word, it inserts all kinds of control characters into the file along with the text. BEWARE as these will cause significant problems.
Recommendation: vi or emacs on the LINUX systems works as does the editor with ModelSim.