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

dbCreateCompTypeSetDefByAttr

dbCreateCompTypeSetDefByAttr(
d_cvId
t_name
l_attr_dpl
)
=> d_compTypeSetDefId/nil

Description

Creates a compTypeSetDef in the given cellview based on the specified attributes list.

Arguments

d_cvId

Database ID of a cellview.

t_name

Name of a compTypeSetDef.

l_attr_dpl

SKILL DPL for the compType attributes. DPL is a list of following required and optional attributes:

  • Required attributes
    compAttr = list(nil)
    compAttr->refOnArea    = "centerAlignment"
    compAttr->refOnComp    = "centerAlignment"
    compAttr->orients      = list("R0" "R90")
  • At least one of the following attributes:
    compAttr->allowedTypes = list("compType1" "compType2")
    compAttr->compFilters  = list(list("cdn20FF" "n*" "*"))
  • Optional Attributes
    compAttr->offset
    compAttr->grid

Value Returned

d_compTypeSetDef

Database ID of the compTypeSetDef that is created.

nil

Returned in case of failure.

Examples

Creates a compTypeSetDef in the cellLib cellview.

;Create compTypeSetDef 
         compAttr = list(nil)
         compAttr->refOnArea  = "centerAlignment"
         compAttr->refOnComp  = "anyAlignment"
         compAttr->allowedTypes = list("compType1" "compType2")
         compAttr->orients = list("R0")
         compAttr->compFilters = list(list("cellLib" "nf*" "layout") list("cellLib" "ng*" "layout"))
         
         cdef = dbCreateCompTypeSetDefByAttr(cv "compTypeSetDef" compAttr)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X