Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreateExtParamInstByMasterName

dbCreateExtParamInstByMasterName(
d_cellView
t_libName
t_cellName
t_viewName
t_name
l_origin
t_orient
[ x_numInst
[ l_params
[ g_physOnly ] ] ]
)
=> d_inst / nil

Description

Creates an instance of the specified Pcell master in the specified cellview. The parameters in the parameter list may be CDF parameters. In this case, for each parameter the function creates an explicit local user property on the instance, even if its value is the same as the default on the master.

Arguments

d_cellView

Cellview in which the instance is created.

t_libName

Library name of the master cellview.

t_cellName

Cell name of the master cellview.

t_viewName

View name of the master cellview.

t_name

Name of the new Pcell instance. If nil the program assigns a unique name to the instance. The name must obey the syntax of instance names as defined at the beginning of this chapter.

l_origin

Origin of the new instance.

t_orient

Orientation of the new instance.

x_numinst

(Optional) Number of instances; if t_name is given, it overrides any value specified by x_numInst (that is, the number of instances is derived from the name instead of taken from the x_numInst argument). If not specified, the default is one.

l_params

(Optional) Specifies a list of l_param, where l_param is list(t_propName t_propType g_value). If l_params is not specified the default is nil.

g_physonly

(Optional) Specifies whether cellview data is physical or both physical and logical. A cellview may contain both physical and logical data when it contains EMH type data. When t, the cellview is physical only. Default is nil.

Value Returned

d_inst

Database ID of the instance.

nil

The instance was not created.

Examples

dbCreateExtParamInstByMasterName(cvId "libMaster" "cellMaster" "viewMaster" "I1" 0:0 "R0" 1list(list("aa" "int" 9) list("bb" "string" "right")))

Creates the Pcell instance I1 of the specified Pcell master ("libMaster" "cellMaster" "viewMaster") in the cellview cvId with the specified parameters.


Return to top
 ⠀
X