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

dbCreateCompTypeSetDef

dbCreateCompTypeSetDef( 
d_cellViewId 
t_compTypeSetName 
t_rowReference
t_componentReference
l_allowedOrientations
l_componentTypes
[ g_componentOffset ]
[ g_pitch ]
)
=> d_compTypeSetDef / nil

Description

This function creates a container of component types that use the same placement attributes.

Arguments

d_cellViewId

Database ID of a cellview.

t_compTypeSetName

The name of the compTypeSetDef.

t_rowReference

Specifies row reference.
Valid Values: bottomAlignment, centerAlignment, topAlignment.

t_componentReference

  

Specifies component reference.
Valid Values: bottomAlignment, centerAlignment, topAlignment.

l_allowedOrientations

  

Allowed orientations that placer can use for cells in the component types.

l_componentTypes

List of component types that share placement attributes.

g_componentOffset

Optionally the offset from the reference points computed from row reference can be specified in user units.

g_pitch

Optionally the pitch or grid to use between placement locations can be specified.

Value Returned

d_compTypeSetDef

Returns Database ID of a compTypeSetDef.

nil

An error occurred during execution.

Examples

Creates a container of component types that use the same placement attributes.

;; create compTypeSetDef
def = dbCreateCompTypeSetDef(cellViewId
     "myCompTypeSetDef     " ; name of the component type set
"bottomAlignment     " ; row reference
"bottomAlignment     " ; component reference
list("R0" "MX")     ; allowed orientations
list("Comptype1" "CompType2") ; component types offsetFromRowReference     ; offset from reference points componnentPitch)     ; pitch or grid to use between placement locations

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X