Re: [sv-bc] proposal regarding enumeration types


Subject: Re: [sv-bc] proposal regarding enumeration types
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Wed Jan 07 2004 - 09:32:30 PST


Dan and Matt,

I don't think that type_identifiers can be qualified with
signed/unsigned. Also, it seems rare that that one would
wish to typedef bit/logic/reg, which are the only types
for which a packed dimension could be used in an enum
base type. For that matter, it seems rare that one would
even with to typedef one of the integer atom types for
use as an enum base type.

So, two questions --

   1) Is this capability really needed in practice?

   2) If so, how about the following?

         | type_identifier 23

         23) A type_identifier shall be legal as an enum_base_type
              only if it denotes an integer_atom_type.

-- Brad



This archive was generated by hypermail 2b28 : Wed Jan 07 2004 - 09:33:13 PST