Re: [sv-ec] Editorial issues with proposal for Mantis 2279

From: <jonathan.bromley_at_.....>
Date: Sat Sep 06 2008 - 07:44:03 PDT
Neil, Stu,

> Editorial changes required for the last portion
> of the proposal for Mantis 2279...

> 1. Spelling correction
>     From: summarised
>       To: summarized

Ah.  That's what you get for allowing a Brit 
to write the proposal :-) Sorry.
 
> 2. BNF shown in G.4, 

It's actually G.5 in draft 6; the 2279 proposal related to draft 4.

> missing "{attribute_instance}"

Agreed, this should have been included.  My bad.  I hope
everyone can agree it's just an editorial change.
 
> 3. BNF shown in G.4, missing " | null"

This one is less clear-cut.  I don't think "null" is legal 
as an argument to std::randomize.  17.12 (draft 6) says

If the scope randomize function is called with no arguments, 
then it behaves as a checker and simply returns status.

It would perhaps be more elegant to require or at least
to allow "null" as an argument in this case, for 
consistency with object randomize, but the 17.12 text
I quote above seems to suggest otherwise and I don't 
think this was ever questioned or discussed in sv-ec.
So I carefully noted in the G.4 (now G.5) text that

The specific form
applicable to std::randomize is summarised here

and intentionally omitted the option of a null argument.

If all the vendors who currently support std::randomize
can chip in here and agree that "null" is OK as an 
argument, I guess it could go back in.
--
Jonathan Bromley
Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, 
UK
Tel: +44 (0)1425 471223                   Email: 
jonathan.bromley@doulos.com
Fax: +44 (0)1425 471573                           Web: 
http://www.doulos.com

This message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sat Sep 6 07:44:41 2008

This archive was generated by hypermail 2.1.8 : Sat Sep 06 2008 - 07:45:26 PDT