Docsity

Setting up and Using ModelSim on Linux: A Comprehensive Guide, Slides of Verilog and VHDL

Partial preview of the text

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.