The simplest and quickest answer is that NC-Sim's VPI tunnels through only the unpacked dimensions, although I don't think we've ever stated that. However, IEEE Std 1364-2005 shows that if you iterate over vpiReg from a vpiRegArray (== vpiArrayVar), you get a vpiReg rather than a vpiRegBit, so you can infer that you're stopping at the unpacked/packed boundary. (I think Chuck may already have said as much.) However, there are some interesting issues that show up when you try to iterate over the members of nested variable dimensions (dynamic arrays, associative arrays, and queues). One could, of course, do the same thing, by traversing the branches of the dynamically sized arrays, but is that what the client application really wants to do? Regards, Jim Vellenga --------------------------------------------------------- James H. Vellenga 978-262-6381 Software Architect (FAX) 978-262-6636 Cadence Design Systems, Inc. vellenga@cadence.com 270 Billerica Rd Chelmsford, MA 01824-4179 "We all work with partial information." ---------------------------------------------------------- ________________________________ From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On Behalf Of Moorhouse, Abigail Sent: Tuesday, September 16, 2008 4:55 PM To: SV-CC Subject: [sv-cc] Request for clarification hello all Do the vpiReg and vpiNet iterations on the unpacked objects vpiArrayVar and vpiArrayNet respectively, tunnel through all indices, including both packed and unpacked, to the bottom item (above bits), or, do they just tunnel through the unpacked dimensions and iterate the top-level packed whatever-they-ares? Is this clarified anywhere? I couldn't find it. Abi -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , 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 Wed Sep 17 14:23:15 2008
This archive was generated by hypermail 2.1.8 : Wed Sep 17 2008 - 14:23:42 PDT