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

techCreateWidthSpacingSnapPatternDef

techCreateWidthSpacingSnapPatternDef(
d_techFileId 
t_name
l_lp
t_direction
g_period
t_defaultPatternName
l_snappingLayers
[ g_offset ]
[ l_patternNames ]
[ l_patternGroupNames ]
[ g_gridType ]
)
=> d_widthSpacingSnapPatternDefId / nil

Description

(Virtuoso Advanced Node for Layout Only) Creates a widthSpacingSnapPatternDef object in the specified technology file.

Arguments

d_techFileId

Specifies the ID of the technology file in which the widthSpacingSnapPatternDef object is to be created.

t_name

Specifies the name for the widthSpacingSnapPatternDef object.

l_lp

Specifies the layer and purpose used to draw regions for this widthSpacingSnapPatternDef in a layout.

l_lp: list(tx_layer tx_purpose)

t_direction

Specifies the pattern direction.

Valid values: horizontal or vertical.

g_period

Specifies the spacing between coarse-grain period tracks.

t_defaultActivePattern

Specifies the pattern, which is used in areas where no region has been drawn.

l_snappingLayers

Specifies the list of snapping layer definitions.

list(l_snappingLayer)

where,

  • l_snappingLayer is a snapping layer definition.
l_snappingLayer: list(tx_layer [l_purposeList])
  • tx_layer is snap layer name.
  • l_purposeList is a list of purpose names.
l_purposeList: list(tx_purpose)

g_offset

Specifies the distance of the nearest period track to the anchor reference (either the lower edge of the PRBoundary or the origin axis).

Default value: 0

l_patternNames

Specifies a list of allowed width spacing pattern names.

list(t_patternName)

l_patternGroupNames

Specifies a list of allowed width spacing pattern group names.

list(t_patternGroupName)

g_gridType

The WSP grid to use for line-ends. The following values are valid:

  • upperLower: Applies to both ends of the wires.
  • lower: Applies to the lower line-ends of vertical wires and the left line-ends of horizontal wires.
  • upper: Applies to the upper line-ends of vertical wires and the right line-ends of horizontal wires.
  • nil: The default value, which is used when this argument is not specified. In this case, the line-end grid is not configured for the widthSpacingSnapPatternDef object.

Value Returned

d_widthSpacingSnapPatternDefId

Returns the ID of the created object.

nil

Returned in case of failure.

Example

techCreateWidthSpacingSnapPatternDef( 
    tech 
    "wsspDef" 
    '("layer1"  "purpose1") 
    "vertical" 0.2 
    "wsp3" 
    '(("layer2" ("dummy1" "dummy2")) ("layer3" ("dummy3" "dummy4")))
    0.1
    '("wsp" "wsp2") 
    '("basePatterns" "wspg2") )

Creates the wsspDef object in the specified technology file.


Return to top
 ⠀
X