Inheritance diagram for oaGCellPattern:
Public Methods | |
void | destroy () |
oaBoolean | isHorizontal () const |
oaCoord | getStartCoord () const |
oaDist | getSpacing () const |
oaUInt4 | getCount () const |
Static Public Methods | |
oaGCellPattern * | create (oaBlock *block, oaBoolean isHorizontal, oaCoord startCoord, oaDist spacing, oaUInt4 count) |
Public Types | |
enum | { dtIndex = oacGCellPatternDataType } |
GCellPatterns can be horizontal or vertical and at least one of each must exist in a design for it to have a valid congestion map. Each GCellPattern declares a set of uniformly spaced edges that will divide the design area into columns or rows. GCellPatterns with isHorizontal set will define columns, and GCellPatterns with isHorizontal unset will define rows.
In the common case where there is a single GCellPattern for each direction, the pattern declares count edges that define count-1 columns or rows. These columns or rows will have indexes from 0 to count-2 in the oaCMap. The startCoord of the GCellPattern with isHorizontal set will be the left X coordinate of the first column and the startCoord of the GCellPattern with isHorizontal unset will define the bottom Y coordinate of the lowest row.
Non-uniform grids may be declared by using multiple GCellPatterns for a given direction. In this case OpenAccess will sort and merge the edges defined by all the GCellPatterns for a given direction. Coincident edges will be removed and the remaining edges will define the set of rows or columns that exist. It is allowed (though unusual) to have overlapping GCellPatterns.
See oaCMap for a discussion of how to access GCells and the data that is stored in them.
The oaGCellPattern class can be observed by deriving from oaObserver<oaGCellPattern>.
|
This function creates a new GCellPattern in the specified design with the specified attributes.
|
|
This function removes this pattern from the design. It will also invalidate any previous oaCMap. |
|
This function gets the count value from this pattern. |
|
This function gets the spacing from this pattern. |
|
This function gets the starting coordinate from this pattern. |
|
This function gets the flag indicating if this pattern is horizontal. |
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.