Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

Global Variables

CDF parameter values interact with each other, and one parameter’s value can affect the existence of another. This feature is implemented primarily through the use and callback elements of the parameters section.

The following global variables, which you can access, are set whenever parameter fields are evaluated.

cdfgData

Specifies the CDF data for the component in use. You can use this variable in the doneProc or formInitProc callback functions to either read or write data for a component. Use the value element to get the current value of any parameter in the CDF description.

For example, you might set the use element for the resistance parameter to:

"cdfgData->resType->value == \"ideal\""

implying that the resistance parameter should be used only if the resistor type is set to ideal. (== is an equality test, not an assignment.)

When setting the value of a parameter, set

cdfgData->paramName->value = paramValue

If you use this setting, in the future you should be able to use the property list editor to edit the parameter values directly without going through the form.

cdfgForm

Specifies the form on which the CDF data is displayed, if there is one. You can modify data stored in cdfgData in the CDF formInitProc, or by modifying the cdfgForm fields with a callback function. When doing this, set the boolean variable cdfgForm -> cdfModified to t.

gLabelsNumNotation

Displays the cdsTerm and cdsParam values in different notations, such as scientific or engineering. The syntax of gLabelsNumNotation is as follows:

gLabelsNumNotation = 'suffix

The possible values are 'suffix, 'scientific, 'engineering, 'simple or 'default.

The default value displays the labels according to the existing setting. For example, the nmos symbol shows the engineering notation, 300e-3 for w, by default.

To set the number of significant digits, use the aelPushSignifDigits function as follows:

aelPushSignifDigits(10)

Related Topics

CDF Functions

Return to top
 ⠀
X