[sv-bc] Is #4.2step legal?

From: Stuart Sutherland <stuart_at_.....>
Date: Thu May 11 2006 - 09:24:19 PDT
The text in 1800 Section 3.5 says that a delay time unit of "step" must be
preceded by either an integer or fixed point value.  This means the
following delay is legal:

  initial #4.2step $display("Time is %f", $realtime);

However, Section 19.10 defines "step" as "The step time unit is equal to the
global time precision".  Does this mean that a step of "4.2" is rounded off,
truncated, or illegal?

Stu
~~~~~~~~~~~~~~~~~~~~~~~~~
Stuart Sutherland
stuart@sutherland-hdl.com
+1-503-692-0898
 
Received on Thu May 11 09:25:46 2006

This archive was generated by hypermail 2.1.8 : Thu May 11 2006 - 09:26:09 PDT