Hi,
As per the point 9 of "A.10 Footnotes (normative)":
"In a data_declaration, it shall be illegal to omit the explicit
data_type before a list_of_variable_decl_assignments unless the var
keyword is used."
So please consider the case:
const [1:0] aa1 = 2'b11; // Is it legal?
const signed aa2 = 1; // Is it legal?
const aa3 = 1; // It is obviously illegal
One standard simulator passes the first two declaration, though as per
the above footnote, it seems to me all the declaration are illegal.
Please let me know if my understanding is incorrect.
-- Regards Surya -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Feb 11 21:19:49 2010
This archive was generated by hypermail 2.1.8 : Thu Feb 11 2010 - 21:19:53 PST