I added a variable to calculate a time for a wait statement in a testbench and am not getting this error from ModelSim...
Signal arm_command is read by the VITAL process but is NOT in the sensitivity list
This is the line of code producing the error...
WaitTime := (ARM_command.RelTime - (now - CurrentTime));
I follow this up with a check for negative values before using in the wait. ARM_command is a signal and WaitTime and CurrentTime are variables. And of course all these objects are of type time. This same calculation done directly in the wait statement gives no error.