RE: [sv-bc] Is TIME integer or non_integer type?


Subject: RE: [sv-bc] Is TIME integer or non_integer type?
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Wed Dec 17 2003 - 18:49:22 PST


That BNF change would also entail adding 'time'
to data_type_common_item.

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org]On Behalf Of Brad
Pierce
Sent: Wednesday, December 17, 2003 6:29 PM
To: sv-bc@eda.org
Subject: Re: [sv-bc] Is TIME integer or non_integer type?

I agree. It would make sense to move 'time' into
integer_type

     integer_type ::=
            integer_vector_type
     | integer_atom_type
     | 'time'

     non_integer_type ::=
            'shortreal'
     | 'real'
     | 'realtime'

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org]On Behalf Of Andy
Tsay
Sent: Wednesday, December 17, 2003 4:15 PM
To: sv-bc@eda.org
Subject: [sv-bc] Is TIME integer or non_integer type?

Hi,

Type time is included in table 3-1 in SV 3.1a/draft2 LRM, so
it is one of the integer data types.

The SV 3.1a/draft2 LRM, Section 3.2, also says
  non_integer_type ::= time | shortreal | real | realtime

So, the type time
a) is one of the integer data types, and
b) is one of the non_integer_type.

I do not know how to explain this to my kids.
Can someone help on this?

Thanks,
Andy



This archive was generated by hypermail 2b28 : Wed Dec 17 2003 - 18:52:10 PST