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

vreGenerateWSPs

vreGenerateWSPs(
[ d_cvid ]
[ S_rStyle ]
[ S_rName ]
) 
=> d_wsspDefId / nil

Description

Generates WSPs for the selected cellview. This SKILL API uses the options specified in the Routing Assistant or through vreSetOption based on the given routing style or router.

Arguments

d_cvid

Database ID of the cellview for generating WSPs. The database ID can be obtained using the geGetEditCellView SKILL function. The default value is the cellview of the current window.

s_rStyle

Specifies the routing style, which can be either device, stdCell, or chip.

s_rName

Specifies the router name, which can be either gbr, nr, or vcr.

Value Returned

d_wsspDefId

Database ID of the created WSSPDef.

nil

WSP has not been created.

Examples

The following example generates WSPs when options have already been specified in the Routing assistant for the standard cell routing style.

cv = geGetEditCellView()
vreGenerateWSPs(cv "stdCell" "nr")

The following example specifies options in batch mode for the device-level routing and then generate WSPs.

cv = geGetEditCellView()
layerData = '((nil generate t layer "M2" spacing 0.05 width 0.03)
              (nil generate t layer "M4" spacing 0.05 width 0.03))
handle = vreGetHandle(cv 'device 'gbr)
vreSetOptions (handle 'setup_WSPLayers layerData)
vreGenerateWSPs(cv 'device 'gbr) 

Related Topics

Virtuoso Automated Placement and Routing SKILL Functions


Return to top
 ⠀
X