[TRACKS [{X | Y} start DO numtracks STEP space [LAYER layerName ...] ;] ...]
Defines the routing grid for a standard cell-based design.
The tracks information is obtained by iterating over the trackPatterns objects in the design.
This information indicates whether the track is horizontal or vertical. It is obtained by using:
oaBoolean oaTrackPattern::isHorizontal() const
A TRUE value corresponds to Y
, and a FALSE value corresponds to X
. oaTrackPatthern::isHorizontal() is associated with the spacing pattern of the tracks not with the direction of the tracks. Therefore, if oaTrackPattern::isHorizontal is TRUE, the spacing pattern is horizontal, and the tracks are vertical. If oaTrackPattern::isHorizontal is FALSE, the spacing pattern is vertical, and the tracks are horizontal.
This information corresponds to the starting coordinate of the oaTrackPattern. It is obtained by using:
oaInt4 oaTrackPattern::getStartCoord() const
This information corresponds to the number of track lines of the oaTrackPattern, and it is obtained by using:
oaUInt4 oaTrackPattern::getNumTracks() const
This information corresponds to the trackSpacing attribute of the oaTrackPattern, and it is obtained by using:
oaUInt4 oaTrackPattern::getTrackSpacing() const
This information corresponds to the routingLayer attribute of the oaTrackPattern. Use the following API to obtain this information:
oaBoolean oaTrackPattern::hasRoutingLayer() const oaLayerNum oaTrackPattern::getRoutingLayer() const
layerName is retrieved from the technology database associated to the design.
oaLayer *oaLayer::find(oaTech *tech, oaLayerNum number) void oaLayer::getName(oaString &name) const
Copyright © 2003-2008 Cadence Design Systems, Inc.
All rights reserved.