Forum Discussion
The simulation settings have a chunk of code that tells it where it saves the data to(the .vwf file is just the viewer for the data). In simulation under simulation settings, after you have loaded the nodes and saved your file, click on restore defaults. If you look at the fourth line in the string of code in this menu as you click on Restore Defaults, you will see it change to the name of your file.
onerror {exit -code 1}
vlib work
vlog -work work prob_c5_4.vo
vlog -work work prob_c5_4.vwf.vt
vsim -c -t 1ps -L cyclonev_ver -L altera_ver -L altera_mf_ver -L 220model_ver -L sgate_ver -L altera_lnsim_ver work.prob_c5_4_vlg_vec_tst
vcd file -direction prob_c5_4.msim.vcd
vcd add -internal prob_c5_4_vlg_vec_tst/*
vcd add -internal prob_c5_4_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