[ibis-macro] Re: Question about GetWave_Exists

  • From: David Banas <DBanas@xxxxxxxxxx>
  • To: "'Arpad_Muranyi@xxxxxxxxxx'" <Arpad_Muranyi@xxxxxxxxxx>, 'IBIS-ATM' <ibis-macro@xxxxxxxxxxxxx>
  • Date: Wed, 7 Mar 2012 14:14:13 -0800

I believe the parameter should be obeyed by the EDA tool, regardless of whether 
or not it finds an accessible function named AMI_GetWave.
In my own case, for instance, I use a generic AMI top level wrapper, which has 
all 3 AMI functions defined. (There's really no reason to rewrite all the 
generic boilerplate every time you create a new model, is there?) However, my 
preliminary model releases often have only the Init functionality in them. 
GetWave functionality is added in a later release, and the accompanying *.ami 
file is updated accordingly.

-db


From: ibis-macro-bounce@xxxxxxxxxxxxx [mailto:ibis-macro-bounce@xxxxxxxxxxxxx] 
On Behalf Of Muranyi, Arpad
Sent: Wednesday, March 07, 2012 2:05 PM
To: 'IBIS-ATM'
Subject: [ibis-macro] Question about GetWave_Exists

Hello everyone,

I would like to ask a question about the GetWave_Exists
AMI parameter.  This is what I see in the specification
on pg. 144:


| GetWave_Exists:
|
| GetWave_Exists is of usage Info and type Boolean. It tells
| the EDA platform whether the "AMI_GetWave" function is
| implemented in this model. Note that if Init_Returns_Impulse
| is set to "False", then Getwave_Exists MUST be set to "True".


I came across a model recently in which the AMI DLL does have
a GetWave function, but the .ami file says GetWave_Exists = False.
The vendor says that they want to use this AMI parameter as
a switch to be able to tell the EDA tool whether to invoke
the GetWave function or not.

The way I read the above specification snippet is that this
parameter supposed to tell the tool whether this function
exists in the DLL or not.  If this parameter was to be used
to control whether the EDA tool should make use of it or not,
we should have given this parameter a different name, something
like this:

Use_GetWave_Function_If_Exists

I am curious to hear what our experts have to say about this.
Is the model's .ami file written incorrectly?  Should we advise
the model maker to not use this AMI parameter this way?

How should the EDA vendor handle this situation?  Should the
tool execute the GetWave function when it exists, regardless
of what this parameter says, or should it only execute the
GetWave function if this parameter is set to True, regardless
of whether the GetWave function exists in the DLL or not :).

Thanks,

Arpad
==============================================================

________________________________
Confidentiality Notice.
This message may contain information that is confidential or otherwise 
protected from disclosure. If you are not the intended recipient, you are 
hereby notified that any use, disclosure, dissemination, distribution, or 
copying of this message, or any attachments, is strictly prohibited. If you 
have received this message in error, please advise the sender by reply e-mail, 
and delete the message and any attachments. Thank you.

Other related posts: