Question on the domain of a variable

From: Luc Rebillard <luc_rebillard@mentor.com>
Date: Thu May 06 2010 - 05:53:39 PDT

Hello,

According to the LRM, the domain of a variable (integer, real) is
determinated by the context in which this variable
is assigned. This recalled, I wonder what is the domain of the variable
'x' is the following module

module test ;

   real x = 1.0 ;

   analog @(initial_step) $display("x=%f",x) ;

   initial $display("x=%f",x) ;

endmodule

Thanks,

Regards,

Luc

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu May 6 05:53:57 2010

This archive was generated by hypermail 2.1.8 : Thu May 06 2010 - 05:54:06 PDT