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

nlGetScratchInstPcellParamValue

nlGetScratchInstPcellParamValue(
t_instID
t_paramName
)
=> t_value / nil

Description

Returns the parameter value 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.

This function must be called from the netlist procedure during netlisting.

Arguments

t_instID

Specifies the database ID of the scratch instance.

t_paramName

Specifies the name of the Pcell parameter

Value Returned

t_value

Returns the value of the Pcell parameter value stored in given scratch instance.

nil

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

Examples

The following example shows how this function returns the database ID of the scratch instance to be used for Pcell evaluations along with the its Pcell parameter value.

instId = nlGetScratchInstance("Two_Stage_Opamp" "OpAmp" "schematic" "M4")
=> db:0x654321bb
nlGetScratchInstPcellParamValue(instId "srcCell")
=> "Analog"

Return to top
 ⠀
X