Re: [sv-ec] EXT-12 email vote request


Subject: Re: [sv-ec] EXT-12 email vote request
From: Arturo Salz (Arturo.Salz@synopsys.com)
Date: Fri Dec 05 2003 - 18:04:11 PST


Neil,

1) The std package is wildcard imported into every compilation unit, so
unless
randomize is explicitly overriden, it's not neccesary to prefixed it with
std::

2) The third example does have a problem. It should be written as you
suggest.

    Arturo

----- Original Message -----
From: "Neil Korpusik" <Neil.Korpusik@Sun.com>
To: <David.Smith@synopsys.COM>
Cc: <sv-ec@eda.org>
Sent: Friday, December 05, 2003 4:56 PM
Subject: Re: [sv-ec] EXT-12 email vote request

I noticed some alleged errata on page 3 of the Dec. 2 update. These don't
alter my vote but I think that they should be addressed.

1. Page 3, first example, call to randomize()

   When randomize() is called outside of the context of a class, shouldn't
   it be prefixed with std::?

             randomize( <-- contained in the text
        std::randomize( <-- should be this?

2. Page 3, third example, the use of 'size'

   p = Packet'(channel[0:size]); <---- contained in the text
   channel = channel[size + 1, $]; <---- contained in the text

   p = Packet'(channel[0:size-1]); <---- should be?
   channel = channel[size, $]; <---- should be?

Approve EXT-12 (version from 12-2-2003):

Yes _X__ No ___

Neil

--
---------------------------------------------------------------------
Neil Korpusik                                     Tel: 408-720-4852
Member of Technical Staff                         Fax: 408-720-4850
Frontend Technologies - ASICs & Processors (FTAP)
Sun Microsystems
email: neil.korpusik@sun.com
---------------------------------------------------------------------



This archive was generated by hypermail 2b28 : Fri Dec 05 2003 - 18:05:10 PST