Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

nlGetSimName

nlGetSimName( 
o_instance 
) 
=> t_name
OR
nlGetSimName( 
o_cellView 
) 
=> t_simName

Description

If the input type is cellview object, then returns the simulator name of the subcircuit. If the input type is instance object, then returns the mapped name of the instance. The name returned depends on the useInstNamePrefix netlist option. When it is not set, the name prefix is not taken into account. However, for instances representing interface elements, the name prefix is always taken into account. No mapping is performed for interface elements.

For instance object, when the useInstNamePrefix netlist option is set, this method takes the name prefix into account. The prefix of a subcircuit does not have to be specified on the CDF of each subcircuit. If the prefix is specified on the CDF, it is used. Otherwise, the subcktInstPrefix netlist option is used.

Arguments

o_instance

The instance object.

o_cellView

The cellview object.

Value Returned

t_name

The mapped instance name if the input type is instance object.

t_simName

The simulator name if the input type is cellview object.

Examples

nlGetSimName( inst )
=> myInstance
nlGetSimName( cv )
=> myCellview


Return to top
 ⠀
X