Re: More on ISSUE 1.7, More on Context Sensitivity Proposals


Subject: Re: More on ISSUE 1.7, More on Context Sensitivity Proposals
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Tue Nov 26 2002 - 08:09:57 PST


> Can We Remove the context Keyword ?
>
> One final point for C-to-SV calls is that the context keyword itself
> is probably no longer required in the export declaration.
>
> This is because all C-to-SV calls are part of some context.
> C-to-SV "free functions" are part of root context. We can
> follow the convention that the dSvContext handle for root can
> be NULL. Or it can be whatever is explicitly returned from
> tf_mipname( "$root" ) (which may be vendor specific).
>
> -- johnS

The keyword "context" is required for the sake of performance.
In order for tf_mipname() function to work, SV-to-C call must be
properly instrumented (the proper context must be set on SV side).
Such instrumentation is unnecessary for calls to simple C functions
that are not going to call SV.

Andrzej



This archive was generated by hypermail 2b28 : Tue Nov 26 2002 - 08:11:08 PST