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

dbCreateRailDefByAttr

dbCreateRailDefByAttr(
d_cvId
t_name
l_attr_dpl
) 
=> d_railDefId / nil

Description

Creates railDef based on the SKILL DPL of the railDef object specification. Contents of the SKILL DPL specification are checked before railDef is created.

Arguments

d_cvId

Database ID of a cellview.

t_name

Name of a railDef.

l_attr_dpl

SKILL DPL of the railDef specification. DPL is a list of following required and optional attributes:

  • Required
    pwrRail = list(nil)
    pwrRail->lpp       = '("Metal1" "drawing")
    pwrRail->netName   = "VDD!"
    pwrRail->width     = 0.064
    pwrRail->refOnArea = "bottomAlignment"
    pwrRail->refOnRail = "bottomAlignment"
  • Optional
    pwrRail->railFigType = "pathSeg“
    pwrRail->offset
    pwrRail->beginOffset
    pwrRail->endOffset

Value Returned

d_railDeff

Database ID of railDef that is created.

nil

Returned in case of failure.

Examples

Creates a SKILL DPL for railDef specification and creates railDef based on the SKILL DPL.

;Creating SKILL DPL for railDef specification
         gndRail = list(nil)
         gndRail->lpp = list("gndLayer" "drawing")
         gndRail->width = 0.02
         gndRail->refOnArea = "topAlignment"
         gndRail->refOnRail = "centerAlignment"
         gndRail->netName = "gndNet"
         gndRail->railFigType = "pathSeg"
;; Creating railDef
         rdef = dbCreateRailDefByAttr(cv "railDef" gndRail)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X