Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

ModelSim crashes when creating wave with wrong range

I believe I have encountered a bug in ModelSim 6.6d.

My design is in Verilog.

Say it contains a signal called declared as input [30:0] my_signal

Issuing the command :


wave create -driver freeze -pattern constant -value zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz -range 30 0 -starttime 0ps -endtime 1000ps sim:/my_module_name/my_signal

works as expected.

If the range is incorrect, though, such as in the command:


wave create -driver freeze -pattern constant -value  zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz -range 31 0 -starttime 0ps -endtime  1000ps sim:/my_module_name/my_signal

then ModelSim crashes with no dialog or visible error message. I realize the semantics of the offending command are invalid, but I'd still like to report the bug. Is there a more proper channel?