This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
simulation_hints [2020/03/10 14:57] nelson |
simulation_hints [2020/03/10 14:57] (current) nelson |
||
---|---|---|---|
Line 4: | Line 4: | ||
=== 1. Interactive Simulation === | === 1. Interactive Simulation === | ||
- | - There is no need to push the "Run All" button when simulating. You can always run for 2000 ns, look at the waveforms, and repeat. For some labs, running the entire testbench can take 15 minutes - don't blindly click Run All. | + | There is no need to push the "Run All" button when simulating. You can always run for 2000 ns, look at the waveforms, and repeat. For some labs, running the entire testbench can take 15 minutes - don't blindly click Run All. |
- | - Related to the above, with tesbenches provided for you to use, if there is an error that gets printed, hit the pause button at the top of the screen (looks like ||) rather than wait another 10 minutes for the Run All to complete. You can then immediately start debugging. | + | |
- | - Related to the above, you can type Tcl commands into the Tcl command line area - use it! Rather than make little changes to your Tcl files and then re-run the entire simulation, just start typing commands into the Tcl command line. Reset your circuit, apply inputs, and run for a bunch of ns. This is far superior to restarting from scratch every time you need to make a change to your Tcl file. It makes debugging interactive... | + | Related to the above, with tesbenches provided for you to use, if there is an error that gets printed, hit the pause button at the top of the screen (looks like ||) rather than wait another 10 minutes for the Run All to complete. You can then immediately start debugging. |
+ | |||
+ | Related to the above, you can type Tcl commands into the Tcl command line area - use it! Rather than make little changes to your Tcl files and then re-run the entire simulation, just start typing commands into the Tcl command line. Reset your circuit, apply inputs, and run for a bunch of ns. This is far superior to restarting from scratch every time you need to make a change to your Tcl file. It makes debugging interactive... | ||
=== 2. Visibility is EVERYTHING !!!!=== | === 2. Visibility is EVERYTHING !!!!=== |