20 lines
280 B
Tcl
20 lines
280 B
Tcl
#cola simulation control script
|
|
|
|
file delete -force work
|
|
vlib work
|
|
vmap work work
|
|
|
|
#compile testbench
|
|
vlog tb_cola.v
|
|
|
|
#compile dut
|
|
vlog ../src/cola.v
|
|
|
|
#execute simulation
|
|
vsim -c -t ps tb_cola
|
|
|
|
#display simulation waveforms
|
|
do wave_cola.tcl
|
|
|
|
#run simulation for 1000ns
|
|
run 1000 ns |