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: Mon Jan 12 2004 - 14:31:54 PST


This change would also impact simple_type. (See Syntax 3-6.)

I think it would be counterproductive to modify the BNF for
this issue. If any change is needed it would be remove time
from Table 3-1.

Note also that according to 1364 3.9, a time variable has
"at least" 64 bits, not necessarily exactly 64 bits.

-- 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:49 PM
To: sv-bc@eda.org
Subject: RE: [sv-bc] Is TIME integer or non_integer type?

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 : Mon Jan 12 2004 - 14:32:41 PST