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

hnlScaleMarginalDelay

hnlScaleMarginalDelay(
g_propVal
t_propName
)
=> value

Description

Accepts the value given as argument, divides the value by the value of the simTimeUnit variable, multiplies it by the value of the simCapUnit variable, and then returns the result rounded to the nearest tenth. If the named property is not found, nil is returned. If simTimeUnit is set to nil or simCapUnitis set to nil, the value of the property is returned, again rounded to the nearest tenth. The property name given as the second argument is used for error messages if the value does not evaluate to a number.

If the property is of the string type, the property value is evaluated before it is scaled.

Arguments

g_propVal

The scaled value.

t_propName

Name of the property.

Value Returned

value

The result of the first argument divided by the simTimeUnit variable and then multiplied by the simCapUnit variable. The returned value is rounded to the nearest tenth. If either simTimeUnit or simCapUnit is nil, the value of the first argument is returned, again rounded to the nearest tenth.

Examples

hnlScaleMarginalDelay( 5 "l" )
hnlScaleMarginalDelay( "5" "l" )

Related Topics

OSS Functions


Return to top
 ⠀
X