Download presentation
Presentation is loading. Please wait.
Published byDoris Spencer Modified over 8 years ago
1
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: https://www.mentor.com/company/higher_ed/modelsim-student-edition Follow the instruction and register with your FIU email, you will receive the License dat file soon, and put it in your installed directory according to the instructions. Make sure your Modelsim is installed in C:/, no more Hierarchies for the directory! (Mine:C:/Modeltech_pe_edu_10.4a)
2
Simulation with Modelsim 2 Step2: Click modelsim, and change your directory to your source verilog code dir: Or command: cd C:/Modeltech_pe_edu_10.4a/examples/Couter_demo
3
Simulation with Modelsim 3 Step1: Create work library and map it in your working directory where source codes are located.
4
Simulation with Modelsim 4 Step2: name it as work or others, map it
5
Simulation with Modelsim 5 Step2: Work is in your library (left corner).
6
Simulation with Modelsim 6 Step3: File-New-Project, (create a new project)
7
Simulation with Modelsim 7 Step4: Add files or create files verilog in project (Project Demo1 here)
8
Simulation with Modelsim 8 Step5: Compile all the verilog files, make sure no errors
9
Simulation with Modelsim 9 Step6: Click simulate to start simulation, note select the tb file under the ‘work’ library
10
Simulation with Modelsim 10 Step6: Click simulate to start simulation, note select the tb file under the ‘work’ library
11
Simulation with Modelsim 11 Step7: Add signals to the waveform
12
Simulation with Modelsim 12 Step8: run simulation and generate waveforms
13
Simulation with Modelsim 13 Also, you can run following commands directly: cd C:/Modeltech_pe_edu_10.4a/examples/Couter_demo vlib work vmap work work vsim -gui work.test_counter add wave \ sim:/test_counter/dut/count \ sim:/test_counter/dut/clk \ sim:/test_counter/dut/reset run 1000ns
14
Simulation with Modelsim 14 Details please check the Modelsim Tutorial Check course website for tutorial pdf: http://web.eng.fiu.edu/~wwen/courses/EEL6726_AVLSI_SP20 16/lec3_modelsim_se_tut.pdf
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.