Open modelsimSE-64 10.1c
Create a new project corresponding to the location of the project name and other basic operations
Build a Verilog file, which is the object of the simulation, File>source>verilog.
Build a simulation file, that is, ***.TB, the method is also built a verilog empty file, click on the menu bar Source>show language templates. That is, templates.
Click on the left Testbech to select the simulation target file next> finish. Adding the appropriate incentive in the new makefile is generally #time a=0;
Write well save compile Complie all.
Next into the simulation
Click Simulate> Follow the prompts to select the **.tb file you have written. optimation optimization option can be unchecked.
Add>to wave> first option
Next, click F9 to start the simulation. The time next to run is to show the length of the observation ... Can be changed!
Then the waveform will appear!
About the process of using Modelsim simulation | For personal use