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

nlIsPcellInstance

nlIsPcellInstance(
t_libName
t_cellName
t_viewName
t_instanceName
)
=> t / nil

Description

Checks if the specified instance name represents a schematic Pcell instance.

If a maestro view is not open, set the environment variable switchViewList before using this function.

Arguments

t_libName

Name of the library.

t_cellName

Name of the cell.

t_viewName

Name of the view.

t_instanceName

Name of the instance.

Value Returned

t

The specified instance name represents a schematic Pcell instance.

nil

  • The arguments specified for the function are invalid.
  • The instance with the given name does not exist in the specified cell view.
  • The specified instance does not represent a schematic Pcell instance.

Examples

The following functions check whether the specified instance represents a schematic Pcell instance.

The first function returns t indicating that the specified instance name represents a schematic Pcell instance.

The second function returns nil indicating that the specified instance name does not represents a schematic Pcell instance.

nlIsPcellInstance("Two_Stage_Opamp" "OpAmp" "schematic" "M4")
=> t
nlIsPcellInstance("Two_Stage_Opamp" "OpAmp" "schematic" "V0")
=> nil

Related Topics

switchViewList


Return to top
 ⠀
X