Hi,
In SV 3.1 final LRM, the constant declaration syntax was:
constant_declaration ::= const data_type
const_assignment ;
So the assignment was must in constant declaration.
But as per 1800 LRM, now the keyword 'const' has become part of data
declaration, which may or may not contain assignment in declaration
time. So is the declaration assignment is optional?
Is the following case valid:
module top;
const int x; // the assignment is missing
endmodule
--
Regards
Surya
--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.
Received on Mon May 14 02:12:19 2007