Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

simSetDef

simSetDef(
g_variableName
g_value
)
=> t

Description

Sets the g_variableName variable to g_value only if the variable is not yet set or if the symbol variableName evaluates to nil. If the variable was set prior to calling this function, and the simGenWarnings variable is not nil, a warning message is printed to stdout that the value of the variableName variable is overridden.

The function is defined in /etc/skill/si/caplib/util.ile. You can modify this function.

Arguments

g_variableName

Name of the SE variable.

g_value

Value to be assigned to the SE variable.

Value Returned

t

The command is successful.

Examples

simSetDef('simCapUnit 1.0e-15) 

Related Topics

OSS Functions


Return to top
 ⠀
X