RE: [sv-ec] Mantis 1702 - queue concatenation

From: Jonathan Bromley <jonathan.bromley_at_.....>
Date: Fri Nov 16 2007 - 13:53:26 PST
> I just noticed an example in the section on set membership that
> initializes a queue with an assignment pattern.
> 
>   int array [$] = '{3, 4, 5};

Thanks.  I'd missed that.

I find myself rapidly shifting to a position that says:
any expression that yields an unpacked array value should 
be OK for assignment to *any* unpacked array, be it queue, 
dynamic or fixed-size - provided the size is correct 
for fixed-size, of course.  I've tried hard to find
reasons why this might be ambiguous, or otherwise a 
bad idea, and so far I've failed.  Can anyone see
an objection that I've missed?

There are a LOT of places in the LRM where kinds of
unpacked array are described in a manner that's 
incomplete, ambiguous or otherwise misleading....
I'll try to create a real proposal, addressing all
that I've found, over the weekend.
-- 
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

The contents of 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 Fri Nov 16 13:54:07 2007

This archive was generated by hypermail 2.1.8 : Fri Nov 16 2007 - 13:54:40 PST