uaveiro-leci/1ano/2semestre/lsd/pratica02/part1/simulation/qsim/Dec2_4EnDemo.do

18 lines
533 B
Plaintext
Raw Normal View History

2023-03-01 12:50:07 +00:00
onerror {exit -code 1}
vlib work
vcom -work work Dec2_4EnDemo.vho
vcom -work work Dec2_4En_1.vwf.vht
vsim -c -t 1ps -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.Dec2_4En_vhd_vec_tst
vcd file -direction Dec2_4EnDemo.msim.vcd
vcd add -internal Dec2_4En_vhd_vec_tst/*
vcd add -internal Dec2_4En_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