RE: [sv-cc] DPI class/object reference passing feature

From: Rich, Dave <Dave_Rich@mentor.com>
Date: Thu Jun 10 2010 - 08:58:37 PDT

Tom,

I find it interesting that no one has responded to this, publicly at
least. During the meeting right after DVCon in February, I brought
inter-language support, especially with SystemC as one of my top
priorities. There was little support.

Many of my OVM customers have been asking for a way to integrate SystemC
reference modules, but somehow, the there has been lack of interest in
the committees. I don't think the people on or off the committees
understand this problem needs to be solved at the language level. The
DPI is not defined to work with another threaded kernel. Forget about
moving data or references between languages; there is no standard
defined for how a SystemC routine can even call an SV exported function
when that routine has not been called from SystemVerilog.

I think it would be fruitless to try to define a mixed-language TLM
specification without defining the underlying mixed-language support.
The problem will be getting people who understand both the requirements
of TLM and DPI and SystemC together in the same room/conference call.

Dave

> -----Original Message-----
> From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On Behalf Of
> Alsop, Thomas R
> Sent: Thursday, May 27, 2010 1:08 PM
> To: sv-cc@eda.org
> Subject: [sv-cc] DPI class/object reference passing feature
>
> SV-CC team,
>
> I wanted to let you know that there is a significant interest in the
DPI
> standardization of object reference passing, i.e. information passed
for
> classes. I am the co-chair of the Accellera Verification IP committee
> and work for Intel's RTL & Validation solutions team. This is a big
deal
> for both parties. Our interest lies on mixed-language support of the
> Universal Verification Methodology (UVM), an Accellera effort to
> standardize a base class library and methodologies, bringing together
the
> best of OVM and VMM. This DPI feature is the key element needed to
> support a standardization mechanism for mixed-language support in the
> UVM.
>
> I'll work with my Intel colleagues, do we have anyone on the CC team?,
to
> push our interests here. I wanted to express to you how important
this
> feature is to Intel and to the industry. Please let me know if I can
> help in this effort in any way. I am on the sv-bc and sv-ec teams and
> can step in to help define and propose this feature if needed.
>
> Thanks, -Tom
>
> -----Original Message-----
> From: vip-tc@lists.accellera.org [mailto:vip-tc@lists.accellera.org]
On
> Behalf Of Slater Rob-R53680
> Sent: Thursday, May 27, 2010 12:52 PM
> To: vip-tc@lists.accellera.org
> Subject: [Accellera:vip-tc] TLM2 Or Not 2 TLM2
>
> Hi,
>
> I thought more about the TLM2 "discussion" yesterday on the call.
>
> I think the motivation driving TLM2 is to:
> (1) have proper, standard object interconnect within UVM
> (2) Also, when the time is right, we'd like to have the flexibility to
> extend
> or replace UVM reference models with SystemC ones. To make this
as
> easy
> as possible, the reference models developed in pure-UVM need to
> already
> have the TLM2 connections and timing mechanisms
>
>
> Regarding (2): The biggest limitation to implementing this is the lack
> of standard way to pass C++ objects through the VPI/DPI. I don't
think
> getting something hacked together would be too difficult for the EDA
> companies (for well-defined C++ structures).
>
> But clearly is this the domain of the SV-CC to define and I hope that
it
> is defined real soon now.
>
>
> Regarding (1): Having proper interconnect is desirable even if only in
> UVM. The OVM way of doing things is a bit of a hack as Mohammad noted
> in his presentation yesterday.
>
> Also, if the VPI/DPI gets to where it needs to be it will be a shame
if
> legacy UVM reference models won't be able to connect to the SystemC
> world.
>
>
>
> Referring to the numbering in Mohamed & Janick's proposal presented
> yesterday, I suggest that the VIP-TC do the following:
>
> (1) Enhanced Communication Tools:
> I strongly suggest that the VIP TC investigate and prototype a sub-set
> of TLM2 is worth implementing in the UVM 1.0 time frame in order to
> accomplish goal (1).
>
> (2) Foreign Language Interface:
> Punt until the DPI/VPI standard is where it needs to be.
>
> (3) Block to Top Test Reuse
> Seems to come with (1)
>
> (4) Timed Modeling
> Same strategy as (1)
>
>
> Rob Slater
> Freescale Semiconductor
>
> --
> 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 Fri Jun 11 18:00:46 2010

This archive was generated by hypermail 2.1.8 : Fri Jun 11 2010 - 18:01:03 PDT