Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

techCreateArraySiteDef

techCreateArraySiteDef(
d_techID
t_siteDefName 
t_siteDefType 
l_sitePattern 
[ g_symmetricInX = t | nil ]
[ g_symmetricInY = t | nil ] 
[ g_symmetricInR90 = t | nil ]
)
=> d_arraySiteDefID / nil

Description

Creates an array of scalar site definitions in the specified technology database.

Arguments

d_techID

The database identifier of the technology database.

t_siteDefName

The name of the array site definition to create.

Valid values: Any string

t_siteDefType

The type of scalar site definitions to include in the array.

Valid values: pad and core

l_sitePattern

A list of lists specifying each scalar site definition in the array, along with its offset from the origin (the lower left corner) of the array and its orientation. This argument takes the following syntax:

list( list( t_siteName l_offset t_orient )… )

where,

  • t_siteName is the name of the scalar site definition included in arraySiteDef.
  • l_offset is a list specifying the X and Y offset for the scalar site definition. The list has the following syntax:
    list( g_xOffset g_yOffset )
  • t_orient is the orientation for the scalar site definition.
    Valid values: R0, R90, R180, R270, MX, MI, MXR90, and MYR90

g_isSymmetricInX

Specifies whether the array site definition is symmetric in the X direction.

Valid values: t | nil

Default: nil

g_isSymmetricInY

Specifies whether the array site definition is symmetric in the Y direction.

Valid Values: t | nil

Default: nil

g_isSymmetricInR90

Specifies whether the array site definition is symmetric in rotation.

Valid Values: t | nil

Default: nil

Value Returned

d_arraySiteDefID

The site definition was created successfully with the database identifier arraySiteDefID.

nil

The technology database does not exist or one or more of the site definitions do not exist.

Example

techCreateArraySiteDef(
    tfID "myCoreArray" "core" 
    list(list("coreSite" 0.0 0.0 "R270")
      list("coreSite2" 5.75 0.0 "MYR90")
)
)
=> db:0x01d0400e

Creates the array site definition myCoreArray in the technology database identified by tfID. The array site definition contains two scalar site definitions, coreSite (with X offset 0.0, Y offset 0.0, and orientation R270) and coreSite2 (with X offset 5.75, Y offset 0.0, and orientation MYR90. None of the symmetric specifications is set, and so they all default to nil.


Return to top
 ⠀
X