You are on page 1of 15

ModelSim &

VLSI SYSTEM ARCHITECTURE


2015/8/14

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

Outline
ModelSim




Traffic light


Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

2/15

ModelSim

PC
Windows 98
Windows NT
Windows 2000
Window XP

Linux
Sun
Linux

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

3/15

ModelSim

Linux
modelsim_6.3a_sun.tgz
modelsim_10.2_linux.tgz

PC
modelsim-win32-10.2-se.exe
modelsim-win64-10.2-se.exe

Linux
PC

License

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

4/15

ModelSim

IP (6)

CICIP

ModelSimLicense Server
-> ->
-> ->
: LM_LICENSE_FILE
: 1717@140.116.49.24

license
server

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

5/15

ModelSim

PC
modelsim-win32-10.2-se.exe
modelsim-win64-10.2-se.exe
()server
license
1717@140.116.49.24
server license License_Setup.txt
servertest
Test ModelSim

modelsim_setup.txt

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

6/15


ModelSim
project
File\New\Project
project name
(project location)

OK

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

7/15

(Add items to the Project)


Create New File
Add Existing File
project
close

projectAdd to Project

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

8/15


project

Add file as typeVerilog
OK
project

Verilog
traffic light

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

9/15

File/Save

(compile)

projectcompile/Compile All

compile/Out-Of-Date

error
error

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

10/15


Simulate
Library
workproject

\Update

\simulate
sim

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

11/15

run( )

Transcriptrun

Transript

(view\)

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

12/15

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

13/15


project
File\New\Project
project
prject\\Add to Project\...

File\Save

simulate: Simulate\End Simulation
project: project\\Close Project (simulate)
: File\Quit (
Project
File\Open

Project Files (*.mpf)


project

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

14/15


ModelSim Tutorial
PDF
http://www.tkt.cs.tut.fi/tools/public/tutorials/mentor/models
im/getting_started/gsms.html#run_simulation
ModelSim
http://home.educities.edu.tw/oldfriend/page52.htm
: ModelSim
Help->SE Documentation PDF Bookcase

Computer System Design Lab. Dept. of Electrical Eng., Natl Sun Yat-Sen Univ.

15/15