echGetLayerRoutingGrid
techGetLayerRoutingGrid(
d_techID
tx_layer
)
=> l_layerRoutingGrid / nil
Description
Returns the layer routing direction, pitch, and offset for the specified routing layer in the specified technology database.
Arguments
|
d_techID
|
The database identifier of the technology database.
|
|
tx_layer
|
The name or number of the layer for which to get the routing definition.
|
Value Returned
|
l_layerRoutingGrid
|
|
|
A list containing the routing definition. The list has the following syntax:
( t_preferredDir [ g_pitch [ g_offset ] ] )
where,
-
t_preferredDir is the keyword used to indicate how place-and-route software to use the layer.
Valid Values:
none, horizontal, vertical, leftDiag, rightDiag -
g_pitch is the pitch, in user units, for the routing grid of the layer.
-
g_offset is the offset, in user units, for the routing grid of the layer.
|
|
nil
|
The technology database does not exist, the specified layer is not defined, or the specified layer has no routing definition assigned.
|
Example
techGetLayerRoutingGrid(tfID "metal1")
=> (“horizontal” 0.51)
Returns the routing definition specified in the current technology database, identified by tfID, for the layer metal1. The layer is assigned the direction horizontal and a pitch of 0.51.
Return to top