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 tc ../../../examples/vhdl/tb_example2/tc1.vhd
4 set libname worklib
5 set vsim_arg ""
6 if {$argc >= 1} {
7  set vsim_arg $1
8 }
9 
10 do comp.do $tc
11 vsim -l ../log/$tc.log $vsim_arg $libname.tb_example2
12 if [file exists log.do] {
13  do log.do
14 }
15 if [file exists ../bin/wave.do] {
16  do ../bin/wave.do
17 }
18 run 1 ms
19 
20