#JZ 2020

#remove working directory
file delete -force work

#Creating the work lib
vlib work
#vmap ampel "designlib/ampel"
vmap work work

#Top level testbench
vlog tb_ampel.v
vlog ../src/ampel.v +define+SIMULATION
vlog ../src/mod_n_counter_10bit.v

#Simulate
#vsim -c -t ps -L ampel tb_ampel
vsim -c -t ps tb_ampel

#get wave
do wave.do

run 1500 us
#run 400 us