Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbGetViaLayer

dbGetViaLayer(
d_viaId
t_viaLayerType
)
=> t_layerName / nil

Description

Returns the layer name of the specified layer of the given via.

Arguments

d_viaId

Specifies the via ID.

t_viaLayerType

Specifies the via layer type.

Valid values: layer1, layer2, cutLayer

Value Returned

t_layerName

Returns the layer name for the specified layer of the via.

nil

Returns nil if an error occurs (for example, invalid via ID or layer type).

Examples

cv = dbOpenCellViewByType( "tech" "design" "layout" "maskLayout" "w" )
viaDef_M2_M1 = techFindViaDefByName( tf "M2_M1" )
via1t_m2_m1 = dbCreateVia( cv viaDef_M2_M1 10:10 "R0" )
dbGetViaLayer( via1t_m2_m1 "layer1" )
=> "metal2"
dbGetViaLayer( via1t_m2_m1 "layer2" )
=> "metal1"
dbGetViaLayer( via1t_m2_m1 "cutLayer" )
=> "via"

Related Topics

Working with Vias

Interconnect Functions


Return to top
 ⠀
X