oaSpefNS
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaSpefNS 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaSpefNS 当前在 oapy 中可用的 Python 接口。
详细说明
The oaSpefNS class implements the SPEF nameSpace used in name mapping。 The SPEF name space reflects the rules for specifying legal names of objects in SPEF files。 In conjunction with the oaName object, the oaSpefNS class facilitates mapping names to and from SPEF。 See the Name Mapping Section of the Programmers Guide for more information。 The SPEF NameSpace does not support vectored, stepped or bundled names though it allows vector bits。 This nameSpace is case sensitive, with programmable bus, pin, and hierarchy characters。 Although the pin delimiter is supported, it is interpreted and output as a hierarchy character。 See the SPEF Name Space Section of the Programmers Guide for a more detailed description of the characteristics of the SPEF name space。
构造函数
_base.oaSpefNS()
obj = _base.oaSpefNS()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.setOpenBusChar(c) |
| ✅ | obj.setHierDelimiter(c) |
| ✅ | obj.setPinDelimiter(c) |
| ✅ | obj.getHierDelimiter() |
| ✅ | obj.getPinDelimiter() |
| ✅ | obj.getOpenBusChar() |
方法说明
obj.setOpenBusChar(c)
绑定状态: 已绑定
Python 调用: obj.setOpenBusChar(c)
This function sets the value of the open bus character for this nameSpace。
参数
c: The value of the open bus character。
异常
oacProgrammableCharTaken。oacProgrammableCharInvalid。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.setOpenBusChar(c)
obj.setHierDelimiter(c)
绑定状态: 已绑定
Python 调用: obj.setHierDelimiter(c)
This function sets the value of the hierarchy delimiter character for this nameSpace。
参数
c: The value of the open bus character。
异常
oacProgrammableCharTaken。oacProgrammableCharInvalid。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.setHierDelimiter(c)
obj.setPinDelimiter(c)
绑定状态: 已绑定
Python 调用: obj.setPinDelimiter(c)
This function sets the value of the pin delimiter for this nameSpace。
参数
c: The value of the pin delimiter。
异常
oacProgrammableCharTaken。oacProgrammableCharInvalid。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.setPinDelimiter(c)
obj.getHierDelimiter()
绑定状态: 已绑定
Python 调用: obj.getHierDelimiter()
This function returns the hierarchy character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.getHierDelimiter()
obj.getPinDelimiter()
绑定状态: 已绑定
Python 调用: obj.getPinDelimiter()
This function returns the pin delimiter for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.getPinDelimiter()
obj.getOpenBusChar()
绑定状态: 已绑定
Python 调用: obj.getOpenBusChar()
This function returns the open bus character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaSpefNS
obj.getOpenBusChar()