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

wspSPDefFind

wspSPDefFind (
d_cellViewId 
t_layerName 
[ ?enabledOnly g_enabledOnly ]
) 
=> l_spdef / nil

Description

Finds all the snapPatternDefs (SPDefs) that apply to the specified routing layer name. In a cellview, one SPDef or widthSpacingSnapPatternDefs (WSSPDef) per layer is enabled as a global grid. With the optional argument g_enabledOnly set to t, WSSPDefs that are enabled as global for the specified routing layer are returned.

Arguments

d_cellViewId

Database ID of the cellview.

t_layerName

The routing layer on which to search for WSSPDefs.

?enabledOnly g_enabledOnly

When set to t, returns WSSPDefs that are enabled as global. When set to nil, returns all WSSPDefs regardless of whether they are enabled as global or not. The default value is nil.

Value Returned

l_spdef

List of SPDef IDs.

nil

The SPDef IDs are not returned.

Example

Returns a list of all SPDefs that apply on layer Metal1 and that are enabled as global.

wspSPDefFind(cv "Metal1" ?enabledOnly t)


Return to top
 ⠀
X