oaLefNS
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaLefNS 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaLefNS 当前在 oapy 中可用的 Python 接口。
详细说明
The oaLefNS class implements the LEF nameSpace used in name mapping。 The LEF name space reflects the rules for specifying names of objects in LEF files。 In conjunction with the oaName object, the oaLefNS class facilitates mapping names to and from LEF。 See the Name Mapping Section of the Programmers Guide for more information。 The LEF NameSpace is case sensitive, with programmable bus charactesr。 It does not support vectored, stepped names, or bundle names, though it needs to know what characters are being used as bus delimiters in order to provide the proper mapping。 See the LEF/DEF Name Space Section of the Programmers Guide for a more detailed description of the characteristics of the LEF name space。
构造函数
_base.oaLefNS()
obj = _base.oaLefNS()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.setOpenBusChar(c) |
| ✅ | obj.setCloseBusChar(c) |
| ✅ | obj.setHierDelimiter(c) |
| ✅ | obj.getHierDelimiter() |
| ✅ | obj.getOpenBusChar() |
| ✅ | obj.getCloseBusChar() |
方法说明
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。
Python 示例
from oapy._oa import _base
# assume obj is a oaLefNS
obj.setOpenBusChar(c)
obj.setCloseBusChar(c)
绑定状态: 已绑定
Python 调用: obj.setCloseBusChar(c)
This function sets the value of the close bus character for this nameSpace。
参数
c: The value of the close bus character。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaLefNS
obj.setCloseBusChar(c)
obj.setHierDelimiter(c)
绑定状态: 已绑定
Python 调用: obj.setHierDelimiter(c)
This function sets the value of the hierarchy delimiter for this nameSpace。
参数
c: The value of the hierarchy delimiter。
异常
oacProgrammableCharTaken。
Python 示例
from oapy._oa import _base
# assume obj is a oaLefNS
obj.setHierDelimiter(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 oaLefNS
obj.getHierDelimiter()
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 oaLefNS
obj.getOpenBusChar()
obj.getCloseBusChar()
绑定状态: 已绑定
Python 调用: obj.getCloseBusChar()
This function returns the close bus character for this nameSpace。
Python 示例
from oapy._oa import _base
# assume obj is a oaLefNS
obj.getCloseBusChar()