range_finder/prep/simulation/qsim/bcd.do
2020-12-17 15:03:10 +01:00

17 lines
549 B
Text

onerror {exit -code 1}
vlib work
vlog -work work bcd.vo
vlog -work work Waveform.vwf.vt
vsim -novopt -c -t 1ps -L fiftyfivenm_ver -L altera_ver -L altera_mf_ver -L 220model_ver -L sgate_ver -L altera_lnsim_ver work.bcd2_vlg_vec_tst
vcd file -direction bcd.msim.vcd
vcd add -internal bcd2_vlg_vec_tst/*
vcd add -internal bcd2_vlg_vec_tst/i1/*
proc simTimestamp {} {
echo "Simulation time: $::now ps"
if { [string equal running [runStatus]] } {
after 2500 simTimestamp
}
}
after 2500 simTimestamp
run -all
quit -f