R
rickman
Guest
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.
--
Rick "rickman" Collins
rick.collins@XYarius.com
Ignore the reply address. To email me use the above address with the XY
removed.
Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design URL http://www.arius.com
4 King Ave 301-682-7772 Voice
Frederick, MD 21701-3110 301-682-7666 FAX
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.
--
Rick "rickman" Collins
rick.collins@XYarius.com
Ignore the reply address. To email me use the above address with the XY
removed.
Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design URL http://www.arius.com
4 King Ave 301-682-7772 Voice
Frederick, MD 21701-3110 301-682-7666 FAX