Modified Proposal for Context Sensitive Function Calls


Subject: Modified Proposal for Context Sensitive Function Calls
From: Stickley, John (john_stickley@mentorg.com)
Date: Mon Nov 18 2002 - 20:18:39 PST


Team,

After speaking with Joao this week, I've modified my proposal for
context sensitive function calls that I presented at the face to face.

The feeling of Joao and others is that we should, if at all possible,
avoid adding new API calls. This, in itself is a good goal but in
order to establish context bindings it was pretty much
unavoidable to have at least some API calls.

However, what Joao suggested is that the lesser of evils will
be to at least use a subset of API calls that already exist, namely,
those in the PLI and VPI API's.

It turns out that there are other ways to do the equivalent of
what my proposed SvccBindHDLCaller() and SvccBindHDLCallee()
calls did.

I've attached a modified version of my presentation that details
these alternatives. Basically I use a combination of tf_getinstance(),
tf_setworkarea(), tf_igetworkarea(), tf_mipname() to do the
equivalent of what SvccBindHDLCaller() and SvccBindHDLCallee()
did before. A similar approach can be done using VPI calls as well.

In my presentation, I've modified all the examples to use the
new approach and demonstrate that it handles context sensitivity
adequately.

I've also kept the same proposed syntax for the extern and export
declarations (including context attribute) as presented last week.

-- johnS

                                                           __

                       ______ | \

______________________/ \__ / \

                                \ H Dome ___/ |

John Stickley E | a __ ___/ / \____

Principal Engineer l | l | \ /

Verification Solutions Group | f | \/ ____

Mentor Graphics Corp. - MED C \ -- / /

17 E. Cedar Place a \ __/ / /

Ramsey, NJ 07446 p | / ___/

                                 | / /

mailto:John_Stickley@mentor.com <mailto:John_Stickley@mentor.com> \
/

Phone: (201)818-2585 \ /

                                   ---------


svcc-proposal-2.ppt



This archive was generated by hypermail 2b28 : Mon Nov 18 2002 - 20:24:10 PST