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

viaSetDefaultValidViaDefs

viaSetDefaultValidViaDefs(
t_techLibName
t_constraintGroupName
l_viaDef
[ g_reset ]
) 
=> t / nil

Description

Sets the default vias to be used by Wire Edit and Create Via commands from the list of valid vias of the specified constraint group.

Arguments

t_techLibName

Name of the technology library.

t_constraintGroupName

Name of the constraint group of the technology library.

l_viaDef

List of via definition names. Each via definition should exist in the validVias constraint of the constraint group.

g_reset

Optional boolean argument specifying whether to replace any existing list for the given constraint group, or keep the existing settings. If two valid via definitions are specified for the same top and bottom layers, the alphabetical order is honored.

Value Returned

t

Returns t if the default via definitions have been set. If a via definition is invalid, a message is printed on the CIW.

nil

Returns nil if the technology library or the constraint group could not be found.

Examples

Constraint Group:

;( group [override] )
;( ---- --------- )
( "virtuosoDefaultSetup" nil
interconnect(
( validLayers (Metal1 Metal2 Metal3) )
( validVias (M2_M1_A M2_M1_B M3_M2_A M3_M2_B) )
) ;interconnect
) ;virtuosoDefaultSetup

The following function defines vias M2_M1_B and M3_M2_B to be used by default by the Wire Editor during the via stitching operation and the Create Via command:

viaSetDefaultValidViaDefs("testLib" "virtuosoDefaultSetup" list("M2_M1_B" "M3_M2_B"))

Return to top
 ⠀
X