oaOccBusTermBit
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaOccBusTermBit 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaOccBusTermBit 当前在 oapy 中可用的 Python 接口。
详细说明
The oaOccBusTermBit class implements a single bit of an oaOccBusTerm , a busTerm in the occurrence domain。 oaModBusTermBit objects are never created or destroyed by applications。 oaModBusTermBit objects are created or destroyed automatically as oaOccBusTerm objects are created or destroyed。 The oaOccBusTermBits are always implicit terminals。 They cannot have their connected net changed with moveToNet(), nor can they have pins created on them。 oaOccBusTermBit, oaModBusTermBit , and oaBusTermBit each represent a bit of a busTerminal on a different kind of master, where in each case the master represents a level of hierarchy in the design。 For oaOccBusTermBit, the master is an oaOccurrence , and each occurrence in a design will have a set of zero or more oaOccBusTermBits。 For oaModBusTermBit , the master is an oaModule 。 For oaBusTerm , the master is an oaBlock , and the top block for the design will have a set of zero or more modBusTermBits。 Typically, many of the oaBusTermBits on the top oaBlock have a corresponding oaModBusTerm on the top oaModule 。 The top oaOccurrence will have a corresponding oaOccBusTermBit for each busTermBit in the union of the terminals between the top oaModule and the top oaBlock 。 When oaBusTermBit objects are created in the block domain, the corresponding oaOccBusTermBit objects are automatically created on the top oaOccurrence 。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getTerm() |
| ✅ | obj.getModTerm() |
| ✅ | obj.getDef() |
| ✅ | obj.getBitIndex() |
| ✅ | obj.getName(name) |
| ✅ | obj.getName(name) |
| ✅ | obj.getName(ns, name) |
| ✅ | _design.oaOccBusTermBit.find(occurrence, baseName, bitIndex) |
方法说明
obj.getTerm()
绑定状态: 已绑定
Python 调用: obj.getTerm()
This function returns the corresponding terminal in the block domain, or NULL if the terminal is not visible in the block domain。 从 oaOccTerm 重新实现。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getTerm()
obj.getModTerm()
绑定状态: 已绑定
Python 调用: obj.getModTerm()
This function returns the corresponding terminal in the module domain, or NULL if the terminal is not visible in the module domain。 从 oaOccTerm 重新实现。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getModTerm()
obj.getDef()
绑定状态: 已绑定
Python 调用: obj.getDef()
This function returns the occBusTermDef associated with this terminal。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getDef()
obj.getBitIndex()
绑定状态: 已绑定
Python 调用: obj.getBitIndex()
This function returns the index for this busTermBit。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getBitIndex()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
This function returns the name of this occBusTermBit。
参数
name: The name of the occBusTermBit to return。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getName(name)
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getName(name)
obj.getName(ns, name)
绑定状态: 已绑定
Python 调用: obj.getName(ns, name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusTermBit
obj.getName(ns, name)
_design.oaOccBusTermBit.find(occurrence, baseName, bitIndex)
绑定状态: 已绑定
Python 调用: _design.oaOccBusTermBit.find(occurrence, baseName, bitIndex)
This function searches the specified occurrence for a busTermBit with the specified baseName and bitIndex。 The busTermBit is returned if found。 Otherwise, NULL is returned。
参数
occ: The occurrence to search for the busTermBit。baseName: The base name for the busTermBit。bitIndex: The bit index for the busTermBit。
返回
- A pointer to an oaOccBusTermBit。
Python 示例
from oapy._oa import _design
_design.oaOccBusTermBit.find(occurrence, baseName, bitIndex)