18 lines
523 B
Plaintext
18 lines
523 B
Plaintext
onerror {exit -code 1}
|
|
vlib work
|
|
vcom -work work GateDemo.vho
|
|
vcom -work work GateDemo.vwf.vht
|
|
vsim -c -t 1ps -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.GateDemo_vhd_vec_tst
|
|
vcd file -direction GateDemo.msim.vcd
|
|
vcd add -internal GateDemo_vhd_vec_tst/*
|
|
vcd add -internal GateDemo_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
|