dbCreateRowRegionSpec
dbCreateRowRegionSpec(d_cvId t_name{n_height|d_siteDef}l_rowAttrs[l_refGridNames] [l_refGridOffsets] [t_relSnapPatternName] [t_type] ) =>d_specId/ nil
Description
Creates rowRegionSpec in the specified cellview.
A rowRegionSpec is a template, which is stored in a cellview, and is used for building a rowRegion. This template contains all the attributes to fully describe all rows in a rowRegion.
You can create specifications to create two types of rows:
Arguments
Value Returned
Examples
There are two ways in which you can specify this function. These are illustrated in the examples below.
The following example uses external DPLs, where, the DPLs are defined first and then passed to the DB function.
; Create Rail Attributes
gndRail = list(nil)
gndRail->lpp = list("gndLayer" "drawing")
gndRail->width = 0.02
gndRail->refOnArea = "topAlignment"
gndRail->refOnRail = "centerAlignment"
gndRail->netName = "gndNet"
gndRail->railFigType = "pathSeg"
;; Create compType attributes
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"))
;; Create Background Attributes
bckAttr = list(nil)
bckAttr->lpp = list("bckLayer" "drawing")
bckAttr->netName = "bkNet"
bckAttr->leftEnc = 1
bckAttr->rightEnc = 0.8
bckAttr->topEnc = 0.9
bckAttr->botEnc = 1.1
;; Create Row Attributes
row = list(nil)
row->name = "placeRow"
row->offset = 3.0
row->orient = "MX"
row->siteDef = "CORE"
row->railAttrs = list(gndRail)
row->backgroundAttrs = list(bckAttr)
row->compAttrs = list(compAttr)
;; Create rowRegionSpec
dbCreateRowRegionSpec(cv "rowRegionSpec" 2.1 list(row))
This example uses inline DPLs, where the DPLs are specified within the DB function call.
dbCreateRowRegionSpec(cv
"rowRegionSpec2"
2.1
'(
(nil
name "placeRow"
offset 3.0
orient "MX"
siteDef "CORE"
railAttrs (
(nil
lpp ("gndLayer" "drawing")
width 0.02
refOnArea "topAlignment"
refOnRail "centerAlignment"
netName "gndNet"
railFigType "pathSeg"
)
)
backgroundAttrs (
(nil
lpp ("bckLayer" "drawing")
netName "bkNet"
leftEnc 1
rightEnc 0.8
topEnc 0.9
botEnc 1.1
)
)
compAttrs (
(nil
refOnArea "centerAlignment"
refOnComp "anyAlignment"
allowedTypes ("compType1" "compType2")
orients ("R0")
compFilters (("tn010" "nf*" "layout") ("tn010" "ng*" "layout"))
)
)
)
)
)
Related Topics
Placement Database Access Functions
Return to top