oaOccBusNet
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaOccBusNet 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaOccBusNet 当前在 oapy 中可用的 Python 接口。
详细说明
The oaOccBusNet class implements a net that can represent one or more bits that are associated with a common base name and vector range specification。 A busNet has a corresponding busNetDef that manages all busNets that share the same base name。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getDef() |
| ✅ | obj.getStart() |
| ✅ | obj.getStop() |
| ✅ | obj.getStep() |
| ✅ | obj.getNet() |
| ✅ | obj.getModNet() |
| ✅ | obj.getName(name) |
| ✅ | obj.getPathName(pathName) |
| ✅ | obj.getName(name) |
| ✅ | obj.getName(ns, name) |
| ✅ | obj.getPathName(pathName) |
| ✅ | obj.getPathName(ns, pathName) |
| ✅ | _design.oaOccBusNet.find(occurrence, baseName, start, stop, step) |
方法说明
obj.getDef()
绑定状态: 已绑定
Python 调用: obj.getDef()
This function returns the busNetDef for this busNet。
返回
- A pointer to an oaOccBusNetDef。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getDef()
obj.getStart()
绑定状态: 已绑定
Python 调用: obj.getStart()
This function returns the starting index for this busNet。
返回
- The starting index of this busNet。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getStart()
obj.getStop()
绑定状态: 已绑定
Python 调用: obj.getStop()
This function returns the ending index for this busNet。
返回
- The ending index for this busNet。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getStop()
obj.getStep()
绑定状态: 已绑定
Python 调用: obj.getStep()
This function returns the step value for this busNet。
返回
- The step value for this busNet。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getStep()
obj.getNet()
绑定状态: 已绑定
Python 调用: obj.getNet()
This function returns a pointer to the corresponding net in the block domain。 NULL is returned if this occurrence net is not visible to the block domain。 从 oaOccNet 重新实现。
返回
- A pointer to an oaNet。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getNet()
obj.getModNet()
绑定状态: 已绑定
Python 调用: obj.getModNet()
This function returns a pointer to the corresponding net in the module domain。 NULL will be returned if this net is an occurrence of a physical-only net。 从 oaOccNet 重新实现。
返回
- A pointer to an oaModNet。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getModNet()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
oaOccBusNet::getName() This function returns the name of this occBusNet。
参数
name: The name of the occBusNet to return。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getName(name)
obj.getPathName(pathName)
绑定状态: 已绑定
Python 调用: obj.getPathName(pathName)
This function returns the full path name of this busNet, relative to the top occurrence in the occurrence hierarchy containing this busNet。
参数
pathName: The pathName of the occBusNet to return。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getPathName(pathName)
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getName(name)
obj.getName(ns, name)
绑定状态: 已绑定
Python 调用: obj.getName(ns, name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getName(ns, name)
obj.getPathName(pathName)
绑定状态: 已绑定
Python 调用: obj.getPathName(pathName)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getPathName(pathName)
obj.getPathName(ns, pathName)
绑定状态: 已绑定
Python 调用: obj.getPathName(ns, pathName)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccBusNet
obj.getPathName(ns, pathName)
_design.oaOccBusNet.find(occurrence, baseName, start, stop, step)
绑定状态: 已绑定
Python 调用: _design.oaOccBusNet.find(occurrence, baseName, start, stop, step)
This function searches the specified occurrence for a busNet with the specified baseName and start, stop, step indices。 If baseName is hierarchical, this function will descend into lower levels of occurrence hierarchy, expanding the hierarchy and binding the master designs as needed。 The busNet is returned if found, otherwise NULL is returned。
参数
occurrence: The occurrence in which to search。baseName: The base name for the net。start: The starting index of the net。stop: The stopping index of the net。step: The index increment value from start to step; step should be greater than zero。
返回
- A pointer to the oaOccBusNet。
Python 示例
from oapy._oa import _design
_design.oaOccBusNet.find(occurrence, baseName, start, stop, step)