Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

techSetPrViaRule

techSetPrViaRule(
d_techID 
t_viaSpecID 
l_viaDefNames
tx_layer1 
t_direction1 
l_params1 
tx_layer2 
t_direction2 
l_params2
) 
=> t / nil

Description

Updates the specified via specification with the specified via definitions in the technology database. ASCII technology file location: viaSpecs section. If the viaSpecs section does not exist, this function creates it.

For more information about the viaSpecs section of the technology file, see viaSpecs in Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

t_viaSpecID

The database identifier of the via specification.

l_viaDefNames

A list of the name of each via definition (the viaDefName specified in the viaDefs section). The list has the following syntax:

list ( t_viaDefName … )

where, t_viaDefName is the name of a via definition to include in the via specification.

tx_layer1

The routing layer for the bottom of the via.

Valid values: The layer name, the layer number

t_direction1

Ignored. The direction is taken from routingDirections.

l_params1

A list of parameters for the bottom routing layer. The list has the following syntax:

list ( n_minWidth1 n_maxWidth1 n_overhang1
n_metalOverhang1 )

where,

  • n_minWidth1 is the minimum width, in user units, of the bottom routing layer.
  • n_maxWidth1 is the maximum width, in user units, of the bottom routing layer.
  • n_overhang1 is the minimum spacing between the contact cut and the outer edge of the via.
    Valid values: When there is a single standard via definition in the via specification, overhang1 must be equal to the layer1Enc width parameter in the standardViaDef subclass when the layer direction is horizontal or it must be equal to the height parameter when the layer direction is vertical. When there is no standard via definition or when there are multiple standard via definitions, overhang1 must be _NA_.
  • n_metalOverhang1 is ignored if a value is specified. Valid Values: _NA_

tx_layer2

The routing layer for the top of the via.

Valid values: The layer name, the layer number

t_direction2

Ignored. The direction is taken from the routingDirections.

l_params2

A list of parameters for the top routing layer. The syntax is the same as for l_params1.

Value Returned

t

The rule was updated or added to the viaSpecs class in the specified technology database.

nil

The update was not done because one or both of the layers specified are not routing layers, the via definition does not exist, or the technology database does not exist.

Example

techSetPrViaRule(techID "viaSP21" (M2_M1)
"metal1" "vertical" (.6 1.8 _NA_ _NA_)
"metal2" "horizontal" (.6 1.8 _NA_ _NA_)))
=> t

Appends the specified via definition to the viaSpecs class in the technology database identified by techID.


Return to top
 ⠀
X