viaRecomputeViasInArea
viaRecomputeViasInArea(
w_windowId | d_cellViewId
l_ptArray
t_viaOptionsObject
[ ?startLevel x_startLevel ]
[ ?stopLevel x_stopLevel ]
)
=> l_via / nil
Description
Recomputes vias with the specified options within a given area in the specified window or cellview. The vias present at the given location are queried along with the figures connected by the vias. The vias are then 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_ptArray
|
List that represents the area where the via is to be recomputed.
|
|
t_viaOptionsObject
|
|
|
The options used to customize the via recomputation.
|
|
?startLevel x_startLevel
|
|
|
Specifies the start level of the query run to retrieve the vias and the figures 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 the start level is not specified and a cellview ID is specified as the first argument of the function, 0 is used as the value of the start level.
|
|
?stopLevel x_stopLevel
|
|
|
Specifies the stop level of the query run to retrieve the vias and the figures connected by the vias. If the stop level is not specified, and a windowID is specified as the 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 is found at the given location.
|
Example
techFile = techGetTechFile(ddGetObj("gpdk090"))
constraintGroupId = cstFindConstraintGroupIn(techFile "virtuosoDefaultSetup")
myViaOptions = viaGetViaOptions(constraintGroupId)
cv = deGetCellView()
transitionM1M2 = car(viaFindTransitions(myViaOptions~>constraintGroupSetup "Metal2" "Metal1"))
transitionM1M2~>userCutSpacingEnabled = t
transitionM1M2~>userCutSpacingX = 0.3
transitionM1M2~>userCutSpacingY = 0.3
viaRecomputeViasInArea(cv list('(-20 -10) '(-20 10) '(10 10) '(10 -25) '(-7.5 -25) '(-7.5 -10)) myViaOptions)
(db:0x2d57d19c db:0x2d57d19d)
Return to top