1076.1 LRM Interpretation: Initialization

From: Deepika Devarajan <deepika_at_.....>
Date: Mon May 23 2005 - 13:04:19 PDT
All,

I have a question regarding the interpretation of the 1076.1 LRM for a
mixed-signal model.  
Consider the following model: 
ENTITY ramp_test IS 
END ENTITY ramp_test; 
ARCHITECTURE behav OF ramp_test IS 
SIGNAL pulse_signal : REAL := 2.0; 
QUANTITY val : REAL; 
BEGIN 
pulse_signal <= 10.0; 
val == pulse_signal'ramp(1.0,1.0); 
END ARCHITECTURE behav; 
What should val be at time = 0? Should (a) val rise from 2.0 to 10.0
over the first second or (b) the initialization cycle force val to be
10.0 from t=0?
While (a) seems to be more intuitive, (b) seems to be consistent with
the simulation cycle (refer Sections 12.6.4 and 12.6.6 and pp. 211-212).

Any comments/feedback is appreciated.
Thanks,
-Deepika
Received on Mon May 23 13:04:25 2005

This archive was generated by hypermail 2.1.8 : Mon May 23 2005 - 13:06:01 PDT