Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

wspCreateWSSPDef

wspCreateWSSPDef (
d_cellViewId 
t_name
tx_layer
t_direction
n_period
[ ?defaultActive t_defaultActive ]
[ ?allowedPatterns l_patterns ]
[ ?allowedPatternGroups l_groups ]
[ ?defPurpose tx_purpose ]
[ ?offset n_offset ]
[ ?orthogonalGrid t_orthogonalGrid]
) 
=> d_wsspDefId

Description

Creates a widthSpacingSnapPatternDefs (WSSPDef) in the specified cellview. If t_defaultActive is specified, the WSSPDef is created immediately. If it is not specified, the creation of WSSPDef is deferred until the first call to the function wspCreateWSP that references this WSSPDef. This enables all WSSPDefs to be specified first, followed by calls to wspCreateWSP that reference the WSSPDef.

Arguments

d_cellViewId

Database ID of the cellview in which the WSSPDef is created.

t_name

Name of the WSSPDef.

tx_layer

The routing layer to which the WSSPDef applies. This is also used as the layer in which the WSP regions for this WSSPDef are drawn.

t_direction

The direction in which track spacing is measured. This is orthogonal to the routing direction. The choices are vertical or horizontal.

n_period

The period of the WSSPDef.

?defaultActive t_defaultActive

The name of the default WSP to use.

?allowedPatterns l_patterns

List of the allowed WSPs. If not specified, the defaultActive pattern is the only allowed pattern.

?allowedPatternGroups l_groups

List of the allowed WSP groups.

?defPurpose tx_purpose

The purpose to use for WSP regions. The default purpose is track.

?offset n_offset

The global grid offset.

?orthogonalGrid t_orthogonalGrid

The orthogonal grid. The choices are upperLower, upper, or lower.

Value Returned

d_wsspDefId

Database ID of the WSSPDef.

Example

wspCreateWSSPDef(geGetEditCellView() "M1WSP1" "Metal1" "Vertical" 0.45) 

Return to top
 ⠀
X