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

dbCreateWidthSpacingSnapPatternDef

dbCreateWidthSpacingSnapPatternDef( 
d_cellViewId 
t_name
(tx_layer [tx_purpose])
t_direction
n_period
t_defaultActivePattern
[ l_snappingLayers ]
[ n_offset ]
[ l_patternNames ]
[ l_patternGroupNames ]
[ g_gridType ])
=> widthSpacingSnapPatternDefId / nil

Description

(ICADVM20.1 Only) Creates a widthSpacingSnapPatternDef object in the specified cellview.

Arguments

d_cellviewId

ID of the cellview in which the widthSpacingSnapPatternDef object is created.

t_name

Name of the widthSpacingSnapPatternDef object.

(tx_layer [tx_purpose])

The layer-purpose pair.

t_direction

The pattern direction. Valid values are horizontal and vertical.

g_period

The spacing between the coarse-grain period tracks (heart-beat period).

t_defaultActivePattern

The pattern used in the areas in which no regions have been drawn.

l_snappingLayers

list(l_snappingLayer)
The list of snapping layer definitions, where:

  • l_snappingLayer: list(t_layer [l_purposeList]) The snapping layer definition, where:
    • t_layer The name of the snapping layer.
  • l_purposeList: list(t_purpose) The list of purpose names.

g_offset

The distance from the nearest period track to the anchor reference (either the lower edge of the PRBoundary or the origin axis). Default value is 0.

l_patternNames

list(t_patternName)
The list of the allowed width spacing pattern names.

l_patternGroupNames

list(t_patternGroupName)
The list of the allowed width spacing pattern group names.

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

  

The ID of the widthSpacingSnapPatternDef object that was created.

nil

The widthSpacingSnapPatternDef object was not created.

Example

Creates a widthSpacingSnapPatternDef object wsspDef defined by the layer-purpose pair layer1-purpose1 in the vertical direction with space 0.2 and offset 0.1.

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

Return to top
 ⠀
X