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

hnlMapInstName

hnlMapInstName( 
t_cdsName
t_prefix
)
=> name

Description

Returns a new mapped name. The cdsName string is a mandatory parameter and the prefix string is an optional one. If the argument specified in cdsName is legal, the same name is returned. Otherwise, OSS searches for the prefix. In case, the prefix is legal, then the value of global counter, which starts with 0, is appended to the prefix. If the prefix is not legal or null, a new name using the global instance prefix and the global counter is generated. However, if both the prefix and the global instance prefix are illegal or null, then an error message is displayed.

Arguments

t_cdsName

Name of an instance.

t_prefix

Name of an instance prefix.

Value Returned

name

A new mapped name if the argument specified as the cdsName is not a valid name for the target simulator. Otherwise, the string is returned or an error message is displayed.

Examples

hnlMapInstName( "inst1" )

Related Topics

OSS Functions


Return to top
 ⠀
X