techGetLayerMfgResolution
techGetLayerMfgResolution(
d_techID
tx_layer
)
=> g_value / g_mfgGridResolution / nil
Description
Returns the manufacturing grid resolution assigned to the specified layer in the specified technology database. ASCII technology file location: layerRules section in the specified technology file.
Arguments
|
d_techID
|
The database identifier of the technology database.
|
|
tx_layer
|
The layer name or layer number.
|
Value Returned
|
g_value
|
The manufacturing grid resolution applied to the layer.
|
|
g_mfgGridResolution
|
|
|
The default manufacturing grid resolution specified in the mfgGridResolution subsection of the controls section. This value is returned if no layer manufacturing grid resolution is specifically assigned to the layer.
|
|
nil
|
The technology database does not exist, the layer is not defined in the technology database, or no manufacturing grid resolution is specified in the technology database, either with mfgResolutions in the layerRules section or mfgGridResolution in the controls section.
|
Example
techGetLayerMfgResolution(tfID "metal1")
=> 0.002
Returns the manufacturing grid resolution, 0.002, assigned to be applied to the layer metal1 in the technology database identified by tfID.
Return to top