Re: [sv-ec] {}

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Jul 28 2009 - 06:37:26 PDT
Only on dynamically sized arrays that are allowed to have no elements.

-Dave

Sent from my iPhone

On Jul 27, 2009, at 10:29 PM, "Bresticker, Shalom" <shalom.bresticker@intel.com 
 > wrote:

> Is it agreed that empty unpacked array concatenations were to be  
> allowed?
>
> Shalom
>
>> -----Original Message-----
>> From: jonathan.bromley@doulos.com
>> [mailto:jonathan.bromley@doulos.com]
>> Sent: Tuesday, July 28, 2009 1:05 AM
>> To: Bresticker, Shalom; sv-ec@server.eda.org
>> Subject: Re: [sv-ec] {}
>>
>> Shalom,
>>
>>> There seems to be an ambiguity in the LRM on the use of {} to denote
>>> an empty array.
>>>
>>> On the one hand, the LRM seems to restrict it to queues.
>>> The BNF non-terminal "primary" contains "empty_queue",
>> defined as "{ }",
>>
>>> and footnote 31 says that "{ } shall only be legal in the
>> context ofa
>> queue".
>>>
>>> On the other hand, 10.10 says,
>> [...]
>>
>> Mea culpa.  This is clearly an oversight in Mantis 1702.
>> I recall that I looked at the BNF and decided that no change
>> was needed because the existing production "concatenation"
>> does all that's required for unpacked array concatenation,
>> except that it does not admit the empty form {}, for which
>> the existing production "empty_queue" suffices.  But I missed
>> the footnote which, as you say, introduces doubt in the
>> reader's mind - especially when taken with the name
>> of the production "empty_queue".
>>
>> It would probably be best to rename "empty_queue" to
>> "empty_concatenation" and reword the offending footnote.
>> I'll raise a new Mantis for this.
>>
>> Thanks
>> -- 
>> Jonathan Bromley
>> Consultant
>>
>> Doulos - Developing Design Know-how
>> VHDL * Verilog * SystemVerilog * SystemC * PSL * 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                        http://www.doulos.com
>>
>> --------------------------------------------------------------
>> ------------------
>> Doulos Ltd is registered in England and Wales with company no.  
>> 3723454
>> Its registered office is 4 Brackley Close, Bournemouth International
>> Airport,
>>        Christchurch, BH23 6SE, UK.
>>
>> This message may contain personal views which are not the views of
>> Doulos, unless specifically stated.
>>
>>
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jul 28 06:53:18 2009

This archive was generated by hypermail 2.1.8 : Tue Jul 28 2009 - 06:54:21 PDT