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

dbSetRowRegionRowRegionSpec

dbSetRowRegionRowRegionSpec(
d_rowRegionId 
d_rowRegionSpecId
) 
=> t / nil

Description

Sets the given rowRegionSpec as the template for the specified rowRegion.

Arguments

d_rowRegionId

Database ID of a rowRegion.

d_rowRegionSpecId

Database ID of a rowRegionSpec.

Value Returned

t

Sets the given rowRegionSpec as the row template for the specified rowRegion.

nil

Returned in case of failure.

Examples

Sets a row region specification as the row region template.

; Create RowRegionSpecs
         gndRail = list(nil)
         gndRail->lpp = list("gndLayer" "drawing")
         gndRail->width = 0.02
         gndRail->refOnArea = "topAlignment"
         gndRail->refOnRail = "centerAlignment"
         gndRail->netName = "gndNet"
         gndRail->railFigType = "pathSeg"
         
         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"))
         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 
         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)
         rrspec1 = dbCreateRowRegionSpec(cv "rowRegionSpec" 2.1 list(row))
         rrspec2 = dbCreateRowRegionSpec(cv "rowRegionSpec2" 4.2 list(row))
 
         ;; Create RowRegion and set rowRegionSpec.
         rowRegion = dbCreateRowRegion(cvId "rowRegion" "rowRegionSpec" list(list(0 0) 
                                       list(2000 0) list(2000 5000) list(0 5000)))
         dbSetRowRegionRowRegionSpec(rowRegion rrspec2)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X