Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the instruction and register with your FIU , 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)
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
Simulation with Modelsim 3 Step1: Create work library and map it in your working directory where source codes are located.
Simulation with Modelsim 4 Step2: name it as work or others, map it
Simulation with Modelsim 5 Step2: Work is in your library (left corner).
Simulation with Modelsim 6 Step3: File-New-Project, (create a new project)
Simulation with Modelsim 7 Step4: Add files or create files verilog in project (Project Demo1 here)
Simulation with Modelsim 8 Step5: Compile all the verilog files, make sure no errors
Simulation with Modelsim 9 Step6: Click simulate to start simulation, note select the tb file under the ‘work’ library
Simulation with Modelsim 10 Step6: Click simulate to start simulation, note select the tb file under the ‘work’ library
Simulation with Modelsim 11 Step7: Add signals to the waveform
Simulation with Modelsim 12 Step8: run simulation and generate waveforms
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
Simulation with Modelsim 14 Details please check the Modelsim Tutorial Check course website for tutorial pdf: 16/lec3_modelsim_se_tut.pdf