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

hnlSetDef

hnlSetDef(
s_sVariable
g_value
)
=> t / nil

Description

Sets variables in HNL. By using this function, the netlister only sets sVariable if it is not already set, or the symbol sVariable evaluates to null, thus allowing user-override of netlister variables by loading user-supplied defaults before loading the Cadence netlister.

Source code for this procedure is available for CAD developers in the install_dir/tools/dfII/src/hnl/hnl.il file.

Arguments

s_sVariable

Symbol name of the variable whose value is set to the g_value in the second argument. The value is set only if it is not already set, or if the symbol sVariable evaluates to null.

g_value

Value assigned to sVariable if it is null.

Value Returned

t

The variable is set to the specified value.

nil

The variable is not set to the specified value.

Examples

hnlSetDef( 'simSimulator "spice" )

Related Topics

OSS Functions


Return to top
 ⠀
X