dbCreateInstByMasterName
dbCreateInstByMasterName(
d_cellView
t_libName
t_cellName
t_viewName
t_instName
l_origin
t_orient
[ x_numInst ]
[ g_physOnly ]
)
=> d_inst / nil
Description
Creates an instance (of cellview—t_libName/t_cellName/t_viewName) in d_cellView with an origin and orientation specified by l_point and t_orient.
Arguments
|
d_cellView
|
Cellview where the instance is placed.
|
|
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
|
If specified, the instance is named by t_name; if nil the program assigns a unique name to the instance. t_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
|
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.
|
|
g_physOnly
|
Optional boolean argument that 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
|
The dbObject of the instance.
|
|
nil
|
The instance is not created.
|
Examples
dbCreateInstByMasterName(cv "basic" "nand2" "symbol" "inst1" list(0 0) "R0" 1)
Return to top