[sv-cc] RE: Mantis item #3737 re. ranges of AAs

From: Chuck Berking <berking@cadence.com>
Date: Thu Aug 25 2011 - 08:14:50 PDT

Shalom-
VPI has traditionally treated range objects as closely related to their actual HDL constructs that specify them, e.g. "[31:0]". We also presume that index values within such ranges are all legitimate, and that range size can be determined consistently from the left and right bounds. Dynamic array ranges "[]" are sufficiently consistent with this to treat as-if they had "[0:<length>]" specified, but AA index "bounds", being qualitatively different, warrant different treatment IMO.
- CB

Chuck Berking | Member of Consulting Staff | Cadence

P: 978.262.6522 M: 603.253.9130 www.cadence.com<http://www.cadence.com/>

________________________________
From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com]
Sent: Sunday, August 21, 2011 12:49 AM
To: Chuck Berking; sv-cc@eda.org
Cc: sv-ec@eda.org
Subject: RE: Mantis item #3737 re. ranges of AAs

Is it clearly defined that ranges are not allowed on associative arrays?
The LRM does define an ordering, depending on the type of index.

Shalom

From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On Behalf Of Chuck Berking
Sent: Friday, August 19, 2011 8:13 PM
To: sv-cc@eda.org
Subject: [sv-cc] Mantis item #3737 re. ranges of AAs

All-
I logged this item yesterday and I have just uploaded a proposal. I contend here that ranges for AA's do not generally make sense, and we should use 'empty ranges' to represent them (as we do now for intermediate dimensions- including dynamic arrays and queues).

Please have a look- feedback welcome. Charlie please add this to our next meeting's agenda.
Thanks,
Chuck

Chuck Berking | Member of Consulting Staff | Cadence

P: 978.262.6522 M: 603.253.9130 www.cadence.com<http://www.cadence.com/>

--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.
---------------------------------------------------------------------
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.
Received on Thu Aug 25 08:15:21 2011

This archive was generated by hypermail 2.1.8 : Thu Aug 25 2011 - 08:15:30 PDT