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

viaFindTransitions

viaFindTransitions(
t_constraintGroupSetup
t_topLayerName
t_bottomLayerName
) 
=> l_viaTransitionsObject / nil

Description

Returns the list of transitions of the given constraint group setup object found between the specified top and bottom layers.

Arguments

t_constraintGroupSetup

This object is retrieved as follows:

viaOptions = viaGetOptions(constraintGroupId)
constraintGroupSetup = viaOptions~>constraintGroupSetup

t_topLayerName

The name of the top layer.

t_bottomLayerName

The name of the bottom layer.

Value Returned

l_viaTransitionsObject

Returns a list of via transitions objects representing the transition between the specified top layer and bottom layer.

nil

Returns nil if the top layer name or bottom layer name or both are not found in the t_constraintGroupSetup object or if there is no transition path between the top and bottom layers.

Example

techFile = techGetTechFile(ddGetObj("gpdk090"))
constraintGroupId = cstFindConstraintGroupIn(techFile "virtuosoDefaultSetup")
myViaOptions = viaGetViaOptions(constraintGroupId)
transitionList = viaFindTransitions(myViaOptions~>constraintGroupSetup "Metal4" "Metal1")
transitionList~>??
 ((topLayer "Metal4" bottomLayer "Metal3" transitionEnabled
 t viaDef "M4_M3" cutClass "Auto"
 cutClassOrientation "auto" userCutSpacingEnabled nil userCutSpacingX
 0.0 userCutSpacingY 0.0
 ) 
  (topLayer "Metal3" bottomLayer "Metal2" transitionEnabled
 t viaDef "M3_M2" cutClass "Auto"
 cutClassOrientation "auto" userCutSpacingEnabled nil userCutSpacingX
 0.0 userCutSpacingY 0.0
  ) 
  (topLayer "Metal2" bottomLayer "Metal1" transitionEnabled
 t viaDef "M2_M1" cutClass "Auto"
 cutClassOrientation "auto" userCutSpacingEnabled nil userCutSpacingX
 0.0 userCutSpacingY 0.0
  )
  )

Return to top
 ⠀
X