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

hnlGetScaleTimeUnit

hnlGetScaleTimeUnit(
t_propName
)
=> propValue / nil

Description

Locates the property of the given name, using hnlGetPropVal, hnlCurrentMaster, and hnlCurrentInst, divides the value by the value of the simTimeUnit variable, and then returns the result rounded to the nearest integer. If the named property is not found, nil is returned. If simTimeUnit is set to nil, then the value of the property is returned, again rounded to the nearest integer.

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

Argument

t_propName

Name of the property retrieved.

Value Returned

propValue

The value of the property divided by the simTimeUnit variable. The returned value is rounded to the nearest integer.

nil

The command was not successful.

Examples

hnlGetScaleTimeUnit( "l" )

Related Topics

OSS Functions


Return to top
 ⠀
X