Altera_Forum
Honored Contributor
9 years agoSimulation fails if Modelsim time resolution is not 1ps
I'm using Quartus Lite 16.1 and the free Modelsim Alters SE. I have a VHDL behavioral simulation that seems to work fine at the default 1ps resolution but if painfully slow. My clock period is 20 ns, so I thought I would speed it up by changing to 10ps. It ran much faster, but the simulator now returns incorrect results. It misses many signal transitions.
In particular, if I use:vsim -t 1ps -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L fiftyfivenm -L rtl_work -L work -voptargs="+acc" TB all is well but: vsim -t 10ps -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L fiftyfivenm -L rtl_work -L work -voptargs="+acc" TB
fails. It zips through the simulation (much more than 10 times faster), but does not see any values change (all at rising clock edges). Is Modelsim Altera hardwired to require 1ps time resolution?