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

dbCreateBackgroundDefByAttr

dbCreateBackgroundDefByAttr(
d_cvId
t_name
g_dpl
)
=> d_bgDefId / nil

Description

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

Arguments

d_cvId

Database ID of a cellview.

t_name

Name of a backgroundDef.

g_dpl

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

  • Required Attributes
    bckAttr = list(nil)
    bckAttr->lpp = '("Metal1" "drawing")
  • Optional Attributes
    bckAttr2->netName  = “VSS!“
    bckAttr2->leftEnc  = 0.01
    bckAttr2->rightEnc = 0.01 
    bckAttr2->topEnc   = 0.01
    bckAttr2->botEnc   = 0.01

Value Returned

d_bgDefId

Database ID of the backgroundDef that is created.

nil

Returned in case of failure.

Examples

Creates a SKILL DPL, and based on it, creates a background DPL.

; creating the SKILL DPL
         bgDefAttr = list(nil)
         bgDefAttr->lpp = list("bckLayer" "drawing")
         bgDefAttr->netName = "bgNet"
         bgDef2Attr->leftEnc = 20
         bgDef2Attr->rightEnc = 30 
         bgDef2Attr->topEnc = 40
         bgDef2Attr->botEnc = 50 
;; creating bgDef based on the SKILL DPL
         bgDef = dbCreateBackgroundDefByAttr(cv "bgDef" bgDefAttr)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X