Files
labor_eds/labor_2/aufwaertszaehler/sim/sim_counter.tcl
musabe24 7d9ff524f9 Hochladen der vorherigen Laborübungen.
Die Dateien selbst wurden nicht verändert.
2024-02-22 10:42:38 +01:00

20 lines
371 B
Tcl

# 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