[sv-bc] RE: 1800-2012.pdf, sec 7.5 Dynamic Arrays - question. errata?

From: Maidment, Matthew R <matthew.r.maidment@intel.com>
Date: Mon May 06 2013 - 12:56:11 PDT
Hi Linc.

The resolution of Mantis 1447 introduced that wording:

http://www.eda.org/svdb/view.php?id=1447

It was handled by SV-EC sub-committee.

I, too, am a bit confused by the working, but I wonder if the comment on this declaration may be informative:

integer mem[2][]; // Fixed-size unpacked array composed
       ^^^^^^&&  // of 2 dynamic subarrays of integers


In this case, there are 2 unpacked arrays (^^) and their leftmost unpacked array dimension (&&) is a dynamic array dimension.

I've cc'ed the sv-ec for clarification.

Matt
--
Matt Maidment
mmaidmen@ichips.intel.com

From: linc jepson [mailto:linc@74ze.com]
Sent: Monday, May 06, 2013 12:29 PM
To: sv-bc@eda.org; mmaidmen@ichips.intel.com
Subject: 1800-2012.pdf, sec 7.5 Dynamic Arrays - question. errata?

Matt/SV-Team,

I wasn't sure whom to send this to, so....

Spec question.  Error?
1800-2012.pdf, sec 7.5 Dynamic Arrays

"Note, that in order for an identifier to represent a dynamic array, it must be declared with a dynamic array
dimension as the leftmost unpacked dimension."

Should this be "rightmost unpacked dimension"?



I was just about to post this on an Accellera forum, and then only saw a UVM forum on Accellera (no pure SV one) and realized IEEE:SV::Accellera:UVM.  But I didn't find a comparable forum for SV on the IEEE site.  If there is one, please let me know.


all the best,
Linc Jepson



http://eda.org/sv-bc/


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon May 6 12:56:54 2013

This archive was generated by hypermail 2.1.8 : Mon May 06 2013 - 12:57:19 PDT