oaScanChainInst
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaScanChainInst 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaScanChainInst 当前在 oapy 中可用的 Python 接口。
详细说明
The oaScanChainInst designates a scan latch instance in a scan chain and its scan-in and scan-out instTerms。 oaScanChainInsts are grouped into sets by the oaScanChainSet class。 Scan chain sets, in turn, are grouped into complete scan chains by the oaScanChain class。 See the oaScanChain class for more discussion。 The oaScanChainInst class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getInstance() |
| ✅ | obj.getInInstTerm() |
| ✅ | obj.getOutInstTerm() |
| ✅ | obj.getSeqBitLength() |
| ✅ | obj.setInInstTerm(term) |
| ✅ | obj.setOutInstTerm(term) |
| ✅ | obj.setInstTerms(inInstTerm, outInstTerm) |
| ✅ | obj.setSeqBitLength(numBits) |
| ✅ | _design.oaScanChainInst.create(set, inTerm, outTerm) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this scan chain instance, removing it from the database。 The oaInst that it pointed to is unaffected。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.destroy()
obj.getInstance()
绑定状态: 已绑定
Python 调用: obj.getInstance()
This function returns the instance associated with this scan chain instance object。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.getInstance()
obj.getInInstTerm()
绑定状态: 已绑定
Python 调用: obj.getInInstTerm()
This function returns the scan-in instance terminal associated with this scan chain instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.getInInstTerm()
obj.getOutInstTerm()
绑定状态: 已绑定
Python 调用: obj.getOutInstTerm()
This function returns the scan-out instance terminal associated with this scan chain instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.getOutInstTerm()
obj.getSeqBitLength()
绑定状态: 已绑定
Python 调用: obj.getSeqBitLength()
This function returns the number of sequential bits this instance represents in a scanChain partition。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.getSeqBitLength()
obj.setInInstTerm(term)
绑定状态: 已绑定
Python 调用: obj.setInInstTerm(term)
This function sets the scan-in instance terminal for this scan chain instance。
异常
oacInvalidScanChainInstTerm: If one of the oaInstTerms is in another design or database。oacInstTermAlreadyInScanChain: If an attempt is made to call the function with an oaInstTerm that is already part of a scan chain。oacScanChainInstTermsNotOnSameInst: If an attempt is made to specify input or output oaInstTerms that are not on the same instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.setInInstTerm(term)
obj.setOutInstTerm(term)
绑定状态: 已绑定
Python 调用: obj.setOutInstTerm(term)
This function sets the scan-out instance terminal associated with this scan chain instance。
异常
oacInvalidScanChainInstTerm: If one of the oaInstTerms is in another design or database。oacInstTermAlreadyInScanChain: If an attempt is made to call the function with an oaInstTerm that is already part of a scan chain。oacScanChainInstTermsNotOnSameInst: If an attempt is made to specify input or output oaInstTerms that are not on the same instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.setOutInstTerm(term)
obj.setInstTerms(inInstTerm, outInstTerm)
绑定状态: 已绑定
Python 调用: obj.setInstTerms(inInstTerm, outInstTerm)
This function sets both the scan-in and scan-out instance terminals associated with this scan chain instance。
异常
oacInvalidScanChainInstTerm: If one of the oaInstTerms is in another design or database。oacInstTermAlreadyInScanChain: If an attempt is made to call the function with an oaInstTerm that is already part of a scan chain。oacScanChainInstTermsNotOnSameInst: If an attempt is made to specify input or output oaInstTerms that are not on the same instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.setInstTerms(inInstTerm, outInstTerm)
obj.setSeqBitLength(numBits)
绑定状态: 已绑定
Python 调用: obj.setSeqBitLength(numBits)
This function sets the number of sequential bits this scanChainInst represents in a partition length。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainInst
obj.setSeqBitLength(numBits)
_design.oaScanChainInst.create(set, inTerm, outTerm)
绑定状态: 已绑定
Python 调用: _design.oaScanChainInst.create(set, inTerm, outTerm)
This function creates a scanChain instance in the specified scan chain set。 The InstTerms may be NULL。 If both instTerms are present, then they must be on a single instance。
异常
oacInvalidScanChainInstTerm: If one of the oaInstTerms is in another design or database。oacInstTermAlreadyInScanChain: If an attempt is made to call the function with an oaInstTerm that is already part of a scan chain。oacScanChainInstTermsNotOnSameInst: If an attempt is made to specify input or output oaInstTerms that are not on the same instance。
Python 示例
from oapy._oa import _design
_design.oaScanChainInst.create(set, inTerm, outTerm)