vlib work
vlog ../../src/hdl/*
vlog ../../src/tb/*
vsim work.regstim
log * -r
vcd file waveform.vcd
vcd add -r /*
run -all