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

viaGetViaOptions

viaGetViaOptions(
d_ConstraintGroupID
) 
=> t_viaOptionsObject / nil

Description

Returns a via options object from the specified constraint group. This via options object can be used by any SKILL procedure enabling generation or re-computation of vias.

The via options object gathers all the options allowing to customize the viaEngine during the via generation or re-computation. All these options are pre-seeded with the default environment variable values. On the other hand, in the createVia form, the options are pre-seeded with the current environment variable values.

The available settings for UserCutSpacing in the via options are:

viaOptions~>constraintGroupSetup~>transition~>userCutSpacingEnabled

viaOptions~>constraintGroupSetup~>transition~> userCutSpacingX

viaOptions~>constraintGroupSetup~>transition~> userCutSpacingY

Arguments

d_ConstraintGroupID

The ID of the constraint group in which the constraint is searched.

Value Returned

t_viaOptionsObject

Returns the via options object name. The following are some via options for via fill:

maxNumOverlaps: Specifies the maximum number of overlaps on which to create vias.

myViaOptions->automatic~>maxNumOverlaps = 100

viaMaskColor: When a single transition is enabled, this option specifies the mask on which to color the cut layer of the transition. The available values are between 1 for “mask1Color” and 8 for “mask8Color”.

myViaOptions->automatic~>viaMaskColor = 2

validMaskColorsPerOverlapLayer: Specifies the allowed mask colors for a given layer. Shapes on the given layer but another mask color are not considered for determination of the overlaps.

myViaOptions->automatic~>validMaskColorsPerOverlapLayer = "Metal1 1 2" 

The example restricts shapes on Metal1 to be on mask1Color or mask2Color for being considered in overlaps calculation.

nil

Returns nil if the constraint group is not found or is not a valid cst constraint group.

Example

techFile = techGetTechFile(ddGetObj("gpdk090"))
constraintGroupId = cstFindConstraintGroupIn(techFile
"virtuosoDefaultSetup")
myViaOptions = viaGetViaOptions(constraintGroupId)
myViaOptions~>??
 (createInRoute t createAsROD nil rodName
   "" automatic via:0x3be390d0 constraintGroupSetup via:0x3be39030
  )  

Return to top
 ⠀
X