Hochladen der vorherigen Laborübungen.
Die Dateien selbst wurden nicht verändert.
This commit is contained in:
20
labor_2/aufwaertszaehler/sim/sim_counter.tcl
Normal file
20
labor_2/aufwaertszaehler/sim/sim_counter.tcl
Normal file
@@ -0,0 +1,20 @@
|
||||
# simulation control script for counters testbench
|
||||
|
||||
# prepare working library
|
||||
file delete -force work
|
||||
vlib work
|
||||
vmap work work
|
||||
|
||||
# compile testbench
|
||||
vlog tb_n_bit_counter.v
|
||||
# compile design under test
|
||||
vlog ../src/n_bit_counter.v
|
||||
|
||||
# execute simulation
|
||||
vsim -c -t ps tb_n_bit_counter
|
||||
|
||||
# display simulation waveforms
|
||||
do wave_counter.tcl
|
||||
|
||||
# run simulation for 500ns
|
||||
run 500 ns
|
||||
Reference in New Issue
Block a user