Fangyi: Are you referring to just the DLL to EDA tool interface? In Section 10, I find | 8. Parameter values can be expressed either as a string literal, decimal | number or in the standard ANCI ?C? notation for floating point numbers | (e.g., 2.0e-9). String literal values are delimited using a double | quote (") and no double quotes are allowed inside the string literals. | Even though the parameter tree syntax is a string interface, I would interpret that to mean that anything of Type String is formatted with double quotes, as stated above. ------The .ami file has a different syntax, and its rules are still under consideration. The current document states:
.... String | literals begin and end with a double quote (") and no double quotes are | allowed inside the string literals. This rule may not be fully checked by the current parser since it is not clear whether the contents of the AMI file must even have a consistent Type or whether the Type directive is for EDA tool re-formatting. In my opinion, always using " " is the safest and simplist interpretation. Bob Walter Katz wrote:
Fangyi,In the current standard it need to be (param_name ?param_value?).I have proposed that if does not contain <space>, <cr> or <lf> that the ? are optional ? at least in the .ami file. This is what Excel does in csv file when cells contain a comma or space.. But this did not seam to get any traction in the group.WalterWalter Katz 303.449-2308 Mobile 720.333-1107 wkatz@xxxxxxxxxx www.sisoft.com-----Original Message-----From: ibis-macro-bounce@xxxxxxxxxxxxx [mailto:ibis-macro-bounce@xxxxxxxxxxxxx]On Behalf Of fangyi_rao@xxxxxxxxxxxSent: Monday, March 15, 2010 6:13 PM To: ibis-macro@xxxxxxxxxxxxx Subject: [ibis-macro] question about string parameter in AMIHi, Experts;Shall the double quote of the value of a string parameter be included in the input parameter string of the Init call? For example, if an AMI model has a string parameter with name ?param_name? and value ?param_value?, should the input parameter string be(param_name ?param_value?)or(param_name param_value)Thanks in advance,Fangyi
-- Bob Ross Teraspeed Consulting Group LLC Teraspeed Labs 121 North River Drive 13610 SW Harness Lane Narragansett, RI 02882 Beaverton, OR 97008 401-284-1827 503-430-1065 http://www.teraspeed.com 503-246-8048 Direct bob@xxxxxxxxxxxxx Teraspeed is a registered service mark of Teraspeed Consulting Group LLC --------------------------------------------------------------------- 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