This is old syntax that was removed in SV3.1a. You are probably using a simulator that is not up to date. ________________________________ From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Kausik Datta Sent: Thursday, June 30, 2005 11:38 PM To: 'Sv-Ec'; sv-bc@eda.org Subject: [sv-bc] Is this a valid syntax Hi, The following syntax is passed by standard simulators, but most probably LRM doesn't support this. Can you please let me know whether I am missing anything here. Thanks Kausik typedef enum [1:0] {NONE, SHARED, EXCLUSIVE, MODIFIED} myenum; After "enum" can I write a packed dimension without any type identifier? The syntax rules which are related to this declaration are: type_declaration ::= typedef data_type type_identifier variable_dimension ; data_type ::= | enum [ enum_base_type ] { enum_name_declaration { , enum_name_declaration } } enum_base_type ::= integer_atom_type [ signing ] | integer_vector_type [ signing ] [ packed_dimension ] | type_identifier [ packed_dimension ]24 enum_name_declaration ::= enum_identifier [ [ integral_number [ : integral_number ] ] ] [ = constant_expression ] <<...>>Received on Fri Jul 1 00:19:01 2005
This archive was generated by hypermail 2.1.8 : Fri Jul 01 2005 - 00:19:05 PDT