RE: [sv-ec] Version 9 of the proposal for mantis item 978 was uploaded

From: Jonathan Bromley <jonathan.bromley_at_.....>
Date: Wed Aug 30 2006 - 01:58:59 PDT
Sorry to be nit-picky, but...

(1)
> When a with expression is specified, the
> results of evaluating this expression are used to determine which
> entries of the array are distinct.

In what way?  I assume this means something like

  When a with expression is specified, distinct entries shall be
  those yielding distinct results from that expression.

(2)
> I like Neil's proposal for unique_index().

Indeed, but does the same meaning apply for a with expression in 
this case?  The fact that the effect of "with" is described for
one method but not the other somewhat suggests that it doesn't 
work for .unique_index(); I suspect that's not the intent.

(3)
I assume that the queue returned by .unique() contains *copies*
of the entries in the source array.  It's perhaps not necessary
to say that; but I found the lack of mention unnerving - almost
as if .unique() would *move* entries from the source array to the
result queue.

(4)
Finally, I am not convinced that the word "distinct" has 
a sufficiently specific and transparent meaning here.  If you
know what unique() is supposed to do, the meaning is obvious;
otherwise it may be somewhat vague.  Right now I can't think of
a better way of saying it that doesn't involve a lengthy riff 
about "sets of entries having identical values" or somesuch,
but if I think of something I'll offer it!

-- 
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 e-mail and any  attachments are  confidential and Doulos Ltd. reserves 
all rights of privilege in  respect thereof. It is intended for the use of 
the addressee only. If you are not the intended recipient please delete it 
from  your  system, any  use, disclosure, or copying  of this  document is 
unauthorised. The contents of this message may contain personal views which 
are not the views of Doulos Ltd., unless specifically stated.
Received on Wed Aug 30 01:59:08 2006

This archive was generated by hypermail 2.1.8 : Wed Aug 30 2006 - 01:59:38 PDT