首页 / design / oaCustomViaHeader

oaCustomViaHeader

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

概览

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

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

详细说明

The oaCustomViaHeader class implements an object that contains information about custom vias of a particular oaCustomViaDef object used in a design。 For designs containing custom vias of oaCustomViaDefs that are associated with a parameterized master design, there are two kinds of customViaHeaders: SuperHeaders represent all of the instances of a Pcell master, regardless of parameter settings SubHeaders represent all of the instances that have one specific set of parameter values Every custom via of a Pcell has exactly one subHeader, which, in turn, has exactly one superHeader。 CustomViaHeaders for instances that are not Pcells are neither subheaders nor superheaders。

方法总览

状态 Python 调用
obj.getLibName(libName)
obj.getCellName(cellName)
obj.getViewName(viewName)
obj.getLibName(ns, libName)
obj.getCellName(ns, cellName)
obj.getViewName(ns, viewName)
obj.getParams(params)
obj.getAllParams(params)

方法说明

obj.getLibName(libName)

绑定状态: 已绑定

Python 调用: obj.getLibName(libName)

This function returns the library name of the master oaDesign referenced by this customViaHeader。

参数

  • ns: The namespace in which to return the library name。
  • libName: The returned library name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getLibName(libName)

obj.getCellName(cellName)

绑定状态: 已绑定

Python 调用: obj.getCellName(cellName)

This function returns the cell name of the master oaDesign referenced by this customViaHeader。

参数

  • ns: The namespace in which to return the cell name。
  • cellName: The returned cell name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getCellName(cellName)

obj.getViewName(viewName)

绑定状态: 已绑定

Python 调用: obj.getViewName(viewName)

This function returns the view name of the master oaDesign referenced by this customViaHeader。

参数

  • ns: The namespace in which to return the view name。
  • viewName: The returned view name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getViewName(viewName)

obj.getLibName(ns, libName)

绑定状态: 已绑定

Python 调用: obj.getLibName(ns, libName)

This function returns the library name of the master oaDesign referenced by this customViaHeader。

参数

  • libName: The returned library name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getLibName(ns, libName)

obj.getCellName(ns, cellName)

绑定状态: 已绑定

Python 调用: obj.getCellName(ns, cellName)

This function returns the cell name of the master oaDesign referenced by this customViaHeader。

参数

  • cellName: The returned cell name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getCellName(ns, cellName)

obj.getViewName(ns, viewName)

绑定状态: 已绑定

Python 调用: obj.getViewName(ns, viewName)

This function returns the view name of the master oaDesign referenced by this customViaHeader。

参数

  • viewName: The returned view name。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getViewName(ns, viewName)

obj.getParams(params)

绑定状态: 已绑定

Python 调用: obj.getParams(params)

This function fills out params with the parameters associated with this customViaHeader。 This call only returns the non-default parameters that were specified during creation or through calls to setParams() on the custom vias。 If this viaHeader is not associated with a Pcell via master or uses all default parameters, params will have a numParams of zero。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getParams(params)

obj.getAllParams(params)

绑定状态: 已绑定

Python 调用: obj.getAllParams(params)

This function fills out params with the complete set of parameters associated with this customViaHeader。 The paramArray will contain the params for which this via uses default values and the params for which it uses override values。 If this viaHeader is not associated with a Pcell via master, params will have a numParams of zero。

Python 示例

from oapy._oa import _design

# assume obj is a oaCustomViaHeader
obj.getAllParams(params)