techGetPrRoutingOffset
techGetPrRoutingOffset(
d_techID
tx_layer
)
=> n_offset / nil
Description
Returns the routing offset defined for the specified layer in the specified technology database.
Arguments
|
d_techID
|
The database identifier of the technology database.
|
|
tx_layer
|
The layer for which you want the routing offset.
Valid values: The layer name, the layer number
|
Value Returned
|
n_offset
|
The routing offset assigned to the layer in the layerRoutingGrids subclass; 0.0 (the default) if no routing offset is assigned to the layer.
|
|
nil
|
The layer is not in the LEFDefaultRouteSpec constraint group or the technology database does not exist.
|
Example
techGetPrRoutingOffset(techID "metal1")
=> 0.2
Returns the routing offset defined for the metal1 layer in the technology database identified by techID.
Return to top