Hochladen der vorherigen Laborübungen.
Die Dateien selbst wurden nicht verändert.
This commit is contained in:
20
labor_2/automat/sim/sim_cola.tcl
Normal file
20
labor_2/automat/sim/sim_cola.tcl
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user