2023-01-11 18:07:46 +00:00
|
|
|
onerror {exit -code 1}
|
|
|
|
vlib work
|
|
|
|
vcom -work work MuxDemo.vho
|
2023-01-25 23:45:44 +00:00
|
|
|
vcom -work work Waveform1.vwf.vht
|
2023-01-11 18:07:46 +00:00
|
|
|
vsim -c -t 1ps -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.Mux16_1_vhd_vec_tst
|
|
|
|
vcd file -direction MuxDemo.msim.vcd
|
|
|
|
vcd add -internal Mux16_1_vhd_vec_tst/*
|
|
|
|
vcd add -internal Mux16_1_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
|