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

techCreateCustomViaDef

techCreateCustomViaDef(
d_techID 
t_viaDefName
d_cellviewID
t_layer1Name
t_layer2Name
)
=> d_viaDefID / nil

Description

Creates a custom via definition in the specified technology database and associates it with the specified cellview.

The function automatically sets the resistance per cut to 0.0. You can reset it with techSetViaDefResistancePerCut.

Arguments

d_techID

The database identifier of the technology database.

t_viaDefName

The name of the custom via definition to create.

Valid values: Any string unique in the database

d_cellviewID

The database identifier of the master cellview with which to associate the custom via definition.

The cellview must be of type via and can be associated with only one custom via definition.

t_layer1Name

The name of the bottom layer of the via.

Valid values: A string that is the name of a valid layer defined in the technology database

t_layer2Name

The name of the top layer of the via.

Valid values: A string that is the name of a valid layer defined in the technology database

Value Returned

d_viaDefID

The custom via definition was created successfully with the database identifier viaDefID.

nil

The technology database does not exist or the specified cellview or one or both of the layers are not defined in the technology database.

Example

techCreateCustomViaDef(tfID "viaDef1" cvID "metal1" "metal2")
=> db:0x03b7a18c

Creates the via definition named viaDef1, which is associated with the cellview identified by cvID in the technology database identified by tfID, and returns its database identifier.


Return to top
 ⠀
X