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

dbCreateParamInstByMasterName

dbCreateParamInstByMasterName( 
d_cellView 
t_libName 
t_cellName 
t_viewName 
t_name 
l_origin 
l_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, when you create a Pcell instance and pass a parameter, with the same value as the default value, dbCreateParamInstByMasterName() does not create an explicit local user property on the instance because the value is the same as the default. If the value is different from the default, the function stores the value as a local property on the instance.

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_instName

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.

l_orient

Orientation of the new instance.

x_numInst

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

List of l_param, where l_param is list( t_propName t_propType g_value).

g_physOnly

Optional boolean argument that specifies whether the instance is only in physical domain when the argument is t; or it is in both physical and module domain when the argument is nil. Default is nil.

Value Returned

d_inst

Database ID of the instance.

nil

The instance was not created.

Examples

dbCreateParamInstByMasterName(inCellView "basic" "nand" "symbol" "inst1" 
list(0 0) "R0" 1 list(list("w" "float" 2.0) list("l" "float" 5.0) t))

Return to top
 ⠀
X