David,
The tool will send False or True, without the double
quotes around them, since these are Booleans. If you
defined then as strings in the .ami file, the tool will
send "True" or "False" in quotes.
I hope this helps,
Arpad
=========================================================
-----Original Message-----
From: ibis-macro-bounce@xxxxxxxxxxxxx [mailto:ibis-macro-bounce@xxxxxxxxxxxxx] ;
On Behalf Of David Banas
Sent: Tuesday, April 05, 2016 10:38 AM
To: ibis-macro@xxxxxxxxxxxxx
Subject: [ibis-macro] How are Bool AMI params sent to a model?
Hi all,
Let's say, for a particular model, the AMI file defines a parameter of type,
Boolean, and usage, In.
When the tool sends that parameter to my model's Init() function, will it be
sending values taken from:
- [0, 1],
- ["False", "True"], or
- something else?
Thanks,
-db
---------------------------------------------------------------------
IBIS Macro website : http://www.eda.org/pub/ibis/macromodel_wip/
IBIS Macro reflector: //www.freelists.org/list/ibis-macro
To unsubscribe send an email:
To: ibis-macro-request@xxxxxxxxxxxxx
Subject: unsubscribe