oaCoreBoxSpec
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaCoreBoxSpec 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaCoreBoxSpec 当前在 oapy 中可用的 Python 接口。
详细说明
A core box is a rectangular area within a block that specifies an array of sites where cells may be placed。 It provides a similar floorplanning capability to a set of oaRow objects, but oaCoreBoxes define a series of row locations in a single object and provide options for controlling the relative placement and orientation of those rows。 The core box represents the limits of the core within the given design。 At the full chip level, there will be rows of IO pads and peripheral routing that are outside the core box。 For a block, the core box is closer in size to the oaPRBoundary for the design。 The core box defines a set of virtual rows that run in either a horizontal or vertical direction。 The size of each of these rows is determined by the size of the associated site and the bounding box set on the core box。 Virtual rows defined by a core box and explicit rows defined by oaRows can coexist, where the explicit rows typically handle special cases like flip chip I/O's, while the virtual rows flood the core area with the regular standard cells。 Explicit oaRow objects for regular standard cells should match the virtual row locations defined by the core box, but the database does not require or enforce this。 The rows are numbered upwards from 0, with the 0th row being the bottom- or left-most row, depending upon whether the core is horizontal or vertical。 The bottom or left edge of the 0th row is aligned to the corresponding edge of the core box。 Space can be reserved after every row, after every even (0th, 2nd, ...) after every odd (1st, 3rd, ...) row, or all rows can be abutted。 The spacing between virtual rows is given by the core row spacing value。 Every even row can be flipped, every odd row can be flipped, or none of the rows can be flipped。 In unflipped rows, the site orientation is oacR0 for both horizontal and vertical rows。 For flipped horizontal rows, the site orientation is oacMX, while for flipped vertical rows, the site orientation is oacMY。
构造函数
_design.oaCoreBoxSpec()
obj = _design.oaCoreBoxSpec()
_design.oaCoreBoxSpec(bBox)
obj = _design.oaCoreBoxSpec(bBox)
_design.oaCoreBoxSpec(coreBoxSpec)
obj = _design.oaCoreBoxSpec(coreBoxSpec)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getBBox() |
| ✅ | obj.isRowHorizontal() |
| ✅ | obj.getRowSpacing() |
| ✅ | obj.getRowSpacingType() |
| ✅ | obj.getRowFlipType() |
| ✅ | obj.getSiteDef() |
| ✅ | obj.getSiteDefName(name) |
| ✅ | obj.getSiteDefName() |
| ✅ | obj.setBBox(bBox) |
| ✅ | obj.setRowHorizontal(isHorizontal) |
| ✅ | obj.setRowSpacing(spacing) |
| ✅ | obj.setRowSpacingType(type) |
| ✅ | obj.setRowFlipType(flip) |
| ✅ | obj.setSiteDef(siteDef) |
| ✅ | obj.setSiteDef(name) |
| ✅ | obj.getNumRows() |
| ✅ | obj.getRowBBox(rowNum, bBox) |
| ✅ | obj.operator=(coreBoxSpec) |
| ✅ | obj.operator==(other) |
| ✅ | obj.operator!=(other) |
方法说明
obj.getBBox()
绑定状态: 已绑定
Python 调用: obj.getBBox()
This function returns a reference to the bounding box of this oaCoreBoxSpec。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getBBox()
obj.isRowHorizontal()
绑定状态: 已绑定
Python 调用: obj.isRowHorizontal()
This function returns true if the row direction is horizontal。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.isRowHorizontal()
obj.getRowSpacing()
绑定状态: 已绑定
Python 调用: obj.getRowSpacing()
This function returns the row spacing。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getRowSpacing()
obj.getRowSpacingType()
绑定状态: 已绑定
Python 调用: obj.getRowSpacingType()
This function returns the row spacing type。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getRowSpacingType()
obj.getRowFlipType()
绑定状态: 已绑定
Python 调用: obj.getRowFlipType()
This function returns the row flip type。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getRowFlipType()
obj.getSiteDef()
绑定状态: 已绑定
Python 调用: obj.getSiteDef()
This function returns the site definition associated with this core box。 If the site definition is not bound, NULL is returned。 Binding of a site definition happens at the time when a core box is set on an oaPRBoundary 。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getSiteDef()
obj.getSiteDefName(name)
绑定状态: 已绑定
Python 调用: obj.getSiteDefName(name)
This function returns a constant reference to the site name in this core box。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getSiteDefName(name)
obj.getSiteDefName()
绑定状态: 已绑定
Python 调用: obj.getSiteDefName()
This function fills in the site name associated with this core box。
参数
name: The site name。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getSiteDefName()
obj.setBBox(bBox)
绑定状态: 已绑定
Python 调用: obj.setBBox(bBox)
This function sets the bounding box of this core box within its design。 This determines the size of the entire core box array。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setBBox(bBox)
obj.setRowHorizontal(isHorizontal)
绑定状态: 已绑定
Python 调用: obj.setRowHorizontal(isHorizontal)
This function sets the row direction for this core box。
参数
isHorizontal: Set to true if the intended direction is horizontal。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setRowHorizontal(isHorizontal)
obj.setRowSpacing(spacing)
绑定状态: 已绑定
Python 调用: obj.setRowSpacing(spacing)
This function sets the row spacing for this core box。
参数
spacing: The row spacing。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setRowSpacing(spacing)
obj.setRowSpacingType(type)
绑定状态: 已绑定
Python 调用: obj.setRowSpacingType(type)
This function sets the row spacing type for this core box。
参数
type: The row spacing type。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setRowSpacingType(type)
obj.setRowFlipType(flip)
绑定状态: 已绑定
Python 调用: obj.setRowFlipType(flip)
This function sets the row flip type for this core box。
参数
flip: The row flip type。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setRowFlipType(flip)
obj.setSiteDef(siteDef)
绑定状态: 已绑定
Python 调用: obj.setSiteDef(siteDef)
This function sets the site name for this core box。
参数
name: The site name。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setSiteDef(siteDef)
obj.setSiteDef(name)
绑定状态: 已绑定
Python 调用: obj.setSiteDef(name)
This function sets the site definition for this core box。
参数
siteDef: The site definition。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.setSiteDef(name)
obj.getNumRows()
绑定状态: 已绑定
Python 调用: obj.getNumRows()
This function returns the number of rows completely contained within the core box。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getNumRows()
obj.getRowBBox(rowNum, bBox)
绑定状态: 已绑定
Python 调用: obj.getRowBBox(rowNum, bBox)
This function fills out the given bounding box with the dimension of the given row number。 The row number has to be within this core box, or an exception will be thrown。 A site definition must exist to obtain the site dimensions。
参数
rowNum: The row number。bBox: The bounding box of the specified row。
异常
oacCoreBoxSpecNoSiteDef。oacCoreBoxSpecInvalidRowNumber。
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.getRowBBox(rowNum, bBox)
obj.operator=(coreBoxSpec)
绑定状态: 已绑定
Python 调用: obj.operator=(coreBoxSpec)
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.operator=(coreBoxSpec)
obj.operator==(other)
绑定状态: 已绑定
Python 调用: obj.operator==(other)
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.operator==(other)
obj.operator!=(other)
绑定状态: 已绑定
Python 调用: obj.operator!=(other)
Python 示例
from oapy._oa import _design
# assume obj is a oaCoreBoxSpec
obj.operator!=(other)