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

nlGetScratchInstance

nlGetScratchInstance(
t_libName
t_cellName
t_viewName
t_instanceName
)
=> d_databaseID / nil

Description

Returns the database ID of the scratch instance to be used for Pcell evaluations.

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

d_databaseID

The database ID.

nil

The specified arguments are invalid or the instance with the given name does not exist in the specified cell view.

Examples

The following example returns the database ID of the scratch instance to be used for Pcell evaluations:

nlGetScratchInstance("Two_Stage_Opamp" "OpAmp" "schematic" "M4")
=> db:0x654321bb

Return to top
 ⠀
X