oaheader.gif
topics.gif classes.gif classes.gif exceptions.gif progguide.gif infomodel.gif index.gif help.gif
 
 
 

Tracks

 [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.

{X | Y}

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.

start

This information corresponds to the starting coordinate of the oaTrackPattern. It is obtained by using:

   oaInt4 oaTrackPattern::getStartCoord() const

numTracks

This information corresponds to the number of track lines of the oaTrackPattern, and it is obtained by using:

   oaUInt4 oaTrackPattern::getNumTracks() const

space

This information corresponds to the trackSpacing attribute of the oaTrackPattern, and it is obtained by using:

   oaUInt4 oaTrackPattern::getTrackSpacing() const

LAYER layerName

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