uaveiro-leci/1ano/2semestre/lsd/pratica03/AdderDemo/simulation/qsim/AdderDemo.do

19 lines
518 B
Plaintext
Raw Normal View History

2023-03-09 16:54:03 +00:00
onerror {exit -code 1}
vlib work
vcom -work work AdderDemo.vho
vcom -work work Adder4.vwf.vht
vsim -c -t 1ps -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.Adder4_vhd_vec_tst
vcd file -direction AdderDemo.msim.vcd
vcd add -internal Adder4_vhd_vec_tst/*
vcd add -internal Adder4_vhd_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