techIsPrMastersliceLayer
techIsPrMastersliceLayer(d_techIDtx_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
Arguments
Value Returned
|
The specified layer is a valid masterslice layer in the specified technology database. |
|
|
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