Created by: Sunan Tugsinavisut
Email: tugsinav@usc.edu
Change Note
- Avoid using default testbench "testfixture.verilog".
There are two methods to run simWaves
- Using simWaves via command line. (You have learned this method in tutorial 3 and 4).
- Using simWaves directly in Integration control.
In the integration control, you can invoke simWaves directly.
- Invoke the integration control tool (step 4 of tutorial 3 and 4).
- Setup the environments in the "Setup" menu according to the design (tutorial 3 and 4).
- Create or copy stimulus file "testfixture.verilog" as in tutorial 3 and 4.
- In this step, we will set integration control to use another file instead of "testfixture.verilog" as a current testbench.
- Copy the stimulus file "testfixture.verilog" in your runing directory to your testbench file such as "testfixture.new" (you can use any other names) by using "Copy" in integration control as follow.
- Invoke Stimulus->Verilog... You will see that "Current Test Fixture" is "testfixture.verilog". See Fig1.
- Select "Copy" menu to copy "testfixture.verilog" to your testbench file "testfixture.new". Then select "Make Current Test Fixture". This option will make "testfixture.new" to be your current testbench, Fig2.
- Click "Apply". You will notice that "Current Test Fixture" changes to "testfixture.new".
- To change from existing testbench to another testbench follow these steps.
- Assume that you would like to change your current testbench from "testfixture.new" to "mytestbench.verilog".
- Invoke Stimulus->Verilog... You will see that "Current Test Fixture is currently "testfixture.new".
- Select "Select" menu.
- Click on "mytestbench.verilog". See Fig3.
- Click "Apply". "Current Test Fixture" will change to "mytestbench.verilog".
- Invoke "Simulation->Start Interactive" and "Yes" to re-netlist the design.
- Invoke "Simulation->Continue" to run the simulation.
- Invoke "Debug->Utilities->View Waveform ..." to open simWaves.
- Refer to simWaves tutorial.