8/30/2012copyright 2012 - joanne degroat, ece, osu1 using modelsim under linux

5
8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 1 Using ModelSim under LINUX

Upload: lisa-anthony

Post on 29-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 8/30/2012Copyright 2012 - Joanne DeGroat, ECE, OSU1 Using ModelSim under LINUX

8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 1

Using ModelSim under LINUX

Page 2: 8/30/2012Copyright 2012 - Joanne DeGroat, ECE, OSU1 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.8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 2

Page 3: 8/30/2012Copyright 2012 - Joanne DeGroat, ECE, OSU1 Using ModelSim under LINUX

8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 3

ModelSim under LINUX ModelSim is the same under both LINUX and

the PC except ….. On a later project you will need to share a

library unit and mapping to another library is easier under LINUX.

BUT THE TOOL IS THE SAME TOOL.

Page 4: 8/30/2012Copyright 2012 - Joanne DeGroat, ECE, OSU1 Using ModelSim under LINUX

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.

8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 4

Page 5: 8/30/2012Copyright 2012 - Joanne DeGroat, ECE, OSU1 Using ModelSim under LINUX

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.

8/30/2012 Copyright 2012 - Joanne DeGroat, ECE, OSU 5