viaRecomputeVias
viaRecomputeVias(
w_windowId | d_cellViewId
l_via
t_viaOptionsObject
[ ?startLevel x_startLevel ]
[ ?stopLevel x_stopLevel ]
)
=> l_via / nil
Description
Recomputes the via list with the given via options in the specified window or cellview. The figures connected by the vias are searched and the vias are recomputed with the via options specified to connect the figures.
Arguments
|
w_windowId | d_cellViewId
|
|
|
Window ID or cellview ID. If window ID is specified, the vias are generated in the edited cellview opened in the given window ID. In addition, if a window ID is given, the window settings are respected (layer visibility, edited figGroup, window start and stop level, and selectCreatedObj environment variable).
|
|
l_via
|
List of vias to recompute.
|
|
t_viaOptionsObject
|
|
|
The options used to customize the via recomputation.
|
|
?startLevel x_startLevel
|
|
|
Specifies the start level of the query run to retrieve the figure connected by the vias. If the start level is not specified, and a window ID is specified as the first argument of the function, the window ~>startLevel is used. If not specified and a cellview ID is specified as the first argument, 0 is used as the value of the start level.
|
|
?stopLevel x_stopLevel
|
|
|
Specifies the stop level of the query run to retrieve the figures connected by the vias. If the stop level is not specified, and a windowID is specified as the first argument of the function, the window~>stopLevel is used. If the stop level is not specified and a cellview ID is specified as the first argument, 0 is used as the value of the stop level.
|
Value Returned
|
l_via
|
Returns the list of modified and created vias.
|
|
nil
|
Returns nil if no via can be recomputed.
|
Example
techFile = techGetTechFile(ddGetObj("gpdk090"))
constraintGroupId = cstFindConstraintGroupIn(techFile "virtuosoDefaultSetup")
myViaOptions = viaGetViaOptions(constraintGroupId)
cv = deGetCellView()
myViaOptions~>automatic~>extendEnclosureBeyondOverlap = nil
myViaOptions~>automatic~>extendEnclosureToOverlap = nil
viaRecomputeVias(cv cv~>vias myViaOptions)
(db:0x17b0d19c db:0x17b0d19d)
Return to top