PlTbUtils  1.3
PlTbUtils is a collection of functions, procedures and components for easily creating stimuli and checking response in automatic self-checking testbenches.
tc1.do
Go to the documentation of this file.
1 # tc1.do
2 # ModelSim do script for compiling and running simulation
3 set libname worklib
4 set vsim_arg ""
5 if {$argc >= 1} {
6  set vsim_arg $1
7 }
8 
9 do comp.do
10 vsim -l ../log/tc1.log $vsim_arg $libname.tb_example1
11 if [file exists log.do] {
12  do log.do
13 }
14 if [file exists ../bin/wave.do] {
15  do ../bin/wave.do
16 }
17 run 1 ms
18 
19