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

techIsPrMastersliceLayer

techIsPrMastersliceLayer(
d_techID 
tx_msLayer
) 
=> t / nil

Description

Verifies whether the specified layer in the specified technology database is a valid masterslice layer. A masterslice layer is any layer that meets both of the following conditions: 1. The layer is explicitly assigned one of the following functions: nwell, pwell, ndiff, pdiff, or poly. ASCII technology file location: in the functions subsection of the layerRules section. 2. If the technology database contains a LEFDefaultRouteSpec constraint group, the layer is not listed in the validLayers section of that constraint group.

You can define a layer that is not a valid layer in a LEFDefaultRouteSpec constraint group to be a masterslice layer by assigning it the proper function with techSetLayerFunction. For more information about the functions subsection of the technology file, see functions in Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

tx_msLayer

The layer to check.

Valid values: The layer name, the layer number

Value Returned

t

The specified layer is a valid masterslice layer in the specified technology database.

nil

The specified layer is not a valid masterslice layer or the technology database does not exist.

Example

techIsPrMastersliceLayer(tfID "diff") 
=> t

Verifies that the layer diff is a valid masterslice layer in the technology database identified by tfID.


Return to top
 ⠀
X