RE: [sv-cc] vpiConcatOp and Mantis 1702

From: Jim Vellenga <vellenga_at_.....>
Date: Mon Nov 19 2007 - 05:55:32 PST
Jonathan,

(1) Yes, it's partly unfamiliarity with the VPI object
model conventions, but

(2) The idea of an unpacked array concatenation raises
some question about object sizes, and perhaps other
properties, that the SV-CC should take a look at, since
an unpacked array concatenation can include objects (such
as queues) with sizes that vary over time.

But to get back to the object model:

VPI represents a concatenation as a vpiOperation --
the bubble labeled "operation" in 36.50 in Draft 4.
If you look at that bubble, you'll see that it has
a property named vpiOpType.  The values that vpiOpType
can take on are listed in vpi_user.h under "expression
properties" (you'll see that vpiConcatOp is listed
below the declaration of the vpiOpType #define itself)
and in sv_vpi_user.h under "Operators".  Thus, in this
case, VPI represents a simple concatenation as a
vpiOperation for which the vpiOpType property has the
value vpiConcatOp.

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." 
----------------------------------------------------------  

]-----Original Message-----
]From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On 
]Behalf Of Jonathan Bromley
]Sent: Monday, November 19, 2007 4:51 AM
]To: sv-cc@eda.org
]Subject: [sv-cc] vpiConcatOp and Mantis 1702
]
]hi CC,
]
]I've just finished a SV-EC proposal for Mantis 1702,
]attempting to regularise the queue concatenation syntax
]exemplified in draft 4 clause 7.11.1 and elsewhere.
]
]I strongly suspect that the proposal should also include
]some new VPI object relationships for the newly-defined
]"unpacked array concatenation" syntax.  I would need your
]help with this in any event, but I was surprised to find
]that the VPI diagrams in the merged LRM appear to lack any
]mention of how to traverse concatenation expressions.  In
]particular, I can find "vpiConcatOp" in the vpi_user.h
]header file, but I can't find it at all in the object 
]diagrams.
]
]It's entirely possible that this is more to do with my
]unfamiliarity with the VPI than with any error in the 
]LRM, but I'd value your help and guidance.
]
]Thanks in advance
]-- 
]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.
]
]
]

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 19 05:56:32 2007

This archive was generated by hypermail 2.1.8 : Mon Nov 19 2007 - 05:56:50 PST