首页 / design / oaGCellPattern

oaGCellPattern

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaGCellPatternoapy 中可用,可通过 _design 模块访问。

本页汇总 oaGCellPattern 当前在 oapy 中可用的 Python 接口。

详细说明

The oaGCellPattern class defines the position and number of GCells in the congestion map。 GCells are used by global routers to keep statistics on the level of congestion of each area in the design。 GCells are defined as a grid - possibly non uniform - covering the area of the design。 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

方法总览

状态 Python 调用
obj.destroy()
obj.isHorizontal()
obj.getStartCoord()
obj.getSpacing()
obj.getCount()
_design.oaGCellPattern.create(block, isHorizontal, startCoord, spacing, count)

方法说明

obj.destroy()

绑定状态: 已绑定

Python 调用: obj.destroy()

This function removes this pattern from the design。 It will also invalidate any previous oaCMap 。

Python 示例

from oapy._oa import _design

# assume obj is a oaGCellPattern
obj.destroy()

obj.isHorizontal()

绑定状态: 已绑定

Python 调用: obj.isHorizontal()

This function gets the flag indicating if this pattern is horizontal。

Python 示例

from oapy._oa import _design

# assume obj is a oaGCellPattern
obj.isHorizontal()

obj.getStartCoord()

绑定状态: 已绑定

Python 调用: obj.getStartCoord()

This function gets the starting coordinate from this pattern。

Python 示例

from oapy._oa import _design

# assume obj is a oaGCellPattern
obj.getStartCoord()

obj.getSpacing()

绑定状态: 已绑定

Python 调用: obj.getSpacing()

This function gets the spacing from this pattern。

Python 示例

from oapy._oa import _design

# assume obj is a oaGCellPattern
obj.getSpacing()

obj.getCount()

绑定状态: 已绑定

Python 调用: obj.getCount()

This function gets the count value from this pattern。

Python 示例

from oapy._oa import _design

# assume obj is a oaGCellPattern
obj.getCount()

_design.oaGCellPattern.create(block, isHorizontal, startCoord, spacing, count)

绑定状态: 已绑定

Python 调用: _design.oaGCellPattern.create(block, isHorizontal, startCoord, spacing, count)

This function creates a new GCellPattern in the specified design with the specified attributes。

参数

  • block: The vlock in which to create the new GCellPattern。
  • isHorizontal: Determines if the pattern is horizontal。
  • startCoord: The starting coordinate for the pattern。
  • spacing: The spacing for the pattern。
  • count: The number of edges defined by the pattern。

Python 示例

from oapy._oa import _design

_design.oaGCellPattern.create(block, isHorizontal, startCoord, spacing, count)