Re: SCEMI 2 handling of protected transactors

From: Per Bojsen <bojsen_at_.....>
Date: Fri Dec 16 2005 - 08:05:55 PST
Hi John and Shabtay,

> It seems to me that the issue here is avoiding symbol clash which
> is a general issue with C libraries. Traditionally this has been
> handled using schemes with prefixes in identifiers to avoid
> pollution of name spaces.

I think we ought to point out that this is problem that is completely
orthogonal to DPI.  It exists for SCE-MI 1.x as well as for SystemC
in general.  The way to get around this is to use namespaces (if in
C++) or prefixes.  This is a workaround, and not a guaranteed solution,
of course.  There may be other tricks the user can play with the
binaries, such as changing the symbol names in the binaries, but that
is not an ideal solution.  Some sort of industry wide IP registry
might be useful to ensure that name clashes do not occur.  The IP
registry need only keep track of the namespace or prefix each IP
vendor registers.

Per

-- 
Per Bojsen                                Email: <bojsen@zaiqtech.com>
Zaiq Technologies, Inc.                   WWW:   http://www.zaiqtech.com
78 Dragon Ct.                             Tel:   781 721 8229
Woburn, MA 01801                          Fax:   781 932 7488
Received on Fri Dec 16 08:05:57 2005

This archive was generated by hypermail 2.1.8 : Fri Dec 16 2005 - 08:06:00 PST