Subject: RE: [sv-cc] RE: Feedback on Read API (VPI enhancement)
From: Joao Geada (Joao.Geada@synopsys.com)
Date: Wed Dec 17 2003 - 09:00:35 PST
Francoise,
I don't think that the case where we have 2 simulators linked together is
common enough or an already solved problem
prior to the read VPI to require a read VPI solution.
Even prior to dealing with the read side VPI a significant number of other
issues would also have to be dealt with,
including ensuring that common symbols from each simulator do not clash,
handling of link time issues related
to normal VPI/PLI applications (which simulator would they link to?),
handling of link time issues related to system
tasks (when invoking $random, which one would you get?), etc. Linking
simulators together is better handled by other
standards (VMC, etc) and not as an extension to VPI.
As for static linking: the easy answer is that it doesn't matter: the only
exported function from each of the read libraries
is the entry point routine and that is unique across libraries. All the
other functions can only be accessed via the function
vector and therefore do not (should not) be exported as symbols from the
library.
Joao
============================================================================
==
Joao Geada, PhD Principal Engineer Verif Tech
Group
Synopsys, Inc TEL: (508)
263-8083
377 Simarano Drive, Suite 300, FAX: (508)
263-8069
Marlboro, MA 01752, USA
============================================================================
==
-----Original Message-----
From: Francoise Martinolle [mailto:fm@cadence.com]
Sent: Wednesday, December 17, 2003 11:47 AM
To: Joao.Geada@synopsys.COM; Joao.Geada@synopsys.COM; bassam@novas.com;
Sv-Cc
Cc: Ghassan Khoory
Subject: RE: [sv-cc] RE: Feedback on Read API (VPI enhancement)
Joao,
your proposal does not cover the case where there are 2 simulators vcs and
ncverilog and an application wants to use both VPI from vcs and VPI from
NCV. Yours is very specific to the read API.
My proposal is to add a specific tool routine to invoke in order to get
the VPI function tray supported by that tool.
My proposal is general enough that it can be extended to cover any
situation.
Also your proposal cannot support the case when the tools need to be
statically linked together?
Francoise
'
This archive was generated by hypermail 2b28 : Wed Dec 17 2003 - 09:01:21 PST