首页 / design / oaOccBitNet

oaOccBitNet

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

概览

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

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

详细说明

The oaOccBitNet class is the base class for single-bit nets that are part of the design's logical description。 You can have two or more bitNets that are equivalent。 Equivalent bitNets are traversed separately or logically as the same net。 You can create associate a connection definition, oaModNetConnectDef , with a bitNet。

方法总览

状态 Python 调用
obj.isPreferredEquivalent()
obj.getConnectDef()
obj.getPreferredEquivalent()
obj.getParasiticConfidence(minValue, maxValue)
obj.setParasiticConfidence(value)
obj.setParasiticConfidence(minValue, maxValue)
obj.getEquivalentNets()
obj.getEquivalentNets(filterFlags)

方法说明

obj.isPreferredEquivalent()

绑定状态: 已绑定

Python 调用: obj.isPreferredEquivalent()

This function returns a boolean value that indicates if this net is the preferred equivalent net in a set of equivalent nets。 true is also returned if the net does not have any equivalents。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.isPreferredEquivalent()

obj.getConnectDef()

绑定状态: 已绑定

Python 调用: obj.getConnectDef()

This function returns the connection definition associated with this net if there is one。 NULL is returned if the net is not associated with a connection definition。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.getConnectDef()

obj.getPreferredEquivalent()

绑定状态: 已绑定

Python 调用: obj.getPreferredEquivalent()

This function returns the preferred equivalent net associated with this net。 If this net does not have any equivalents, the net itself is returned since it is considered the preferred equivalent of itself。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.getPreferredEquivalent()

obj.getParasiticConfidence(minValue, maxValue)

绑定状态: 已绑定

Python 调用: obj.getParasiticConfidence(minValue, maxValue)

This function returns the min and max parasitic confidence values。 These are defined to be between 0 and 100。

参数

  • minValue: returned min parasitic confidence value。
  • maxValue: returned max parasitic confidence value。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.getParasiticConfidence(minValue, maxValue)

obj.setParasiticConfidence(value)

绑定状态: 已绑定

Python 调用: obj.setParasiticConfidence(value)

This function sets the specified min ( minValue) and max ( maxValue) parasitic confidence values for this net。 Parasitic confidence values must be between 0 and 100。

参数

  • minValue: the min parasitic confidence value (from 0 to 100) to set on this net。
  • maxValue: the max parasitic confidence value (from 0 to 100) to set on this net。

异常

  • oacInvalidParasiticConfidenceValue
  • oacCannotSetParasiticConfImplicitNet

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.setParasiticConfidence(value)

obj.setParasiticConfidence(minValue, maxValue)

绑定状态: 已绑定

Python 调用: obj.setParasiticConfidence(minValue, maxValue)

This function sets both the min and max parasitic confidence value for this net to the specified value。 The parasitic confidence value must be between 0 and 100。

参数

  • value: the min and max parasitic confidence value (from 0 to 100) to set on this net。

异常

  • oacInvalidParasiticConfidenceValue
  • oacCannotSetParasiticConfImplicitNet

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.setParasiticConfidence(minValue, maxValue)

obj.getEquivalentNets()

绑定状态: 已绑定

Python 调用: obj.getEquivalentNets()

This function returns a collection of nets equivalent to this net。 This function gets the collection of all equivalent nets not including the net used to get the collection。 The returned collection will be empty if there are no equivalent nets assigned to this net。

参数

  • filterFlags: Specifies what the collection contains。 The bits flags are defined as follows: oacEquivalentNetIterExplicit: the collection will only contain equivalences that that were explicitly created by the application oacEquivalentNetIterImplicit: the collection will only contain equivalences that were created by OA as a result of overlapping or repeated bits in terms or instTerms oacEquivalentNetIterAll: the collection will contain all equivalences both implicit and explicit。

异常

  • oacInvalidEquivalentNetIterFlags

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.getEquivalentNets()

obj.getEquivalentNets(filterFlags)

绑定状态: 已绑定

Python 调用: obj.getEquivalentNets(filterFlags)

This function returns a collection of nets equivalent to this net。 This function gets the collection of all equivalent nets not including the net used to get the collection。 The returned collection will be empty if there are no equivalent nets assigned to this net。 Note that this function returns the same collection as getEquivalentNets ( oacEquivalentNetIterAll )。

Python 示例

from oapy._oa import _design

# assume obj is a oaOccBitNet
obj.getEquivalentNets(filterFlags)