首页 / tech / oaSizedLayer

oaSizedLayer

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

概览

oaSizedLayeroapy 中可用,可通过 _tech 模块访问。

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

详细说明

The functionality provided by oaSizedLayer is now available using oaDerivedLayer 。 Specifically, in OpenAccess 2.2.0, to create a derived layer that represents layer metal1 sized up by .001 um you created an oaSizedLayer with an operation of oacGrowSizeOp and an oaValue of 1 (assuming 1000 DBU per UU and user units of microns)。 With the availability of the more flexible mechanism provided by oaDerivedLayerParams, an oaDerivedLayer can be used to represent oaSIzedLayers。 Using the example cited above, you create an oaDerivedLayer with the following attributes: Layer1 = metal1 layer operation = oacGrowLayerOp operation an oaDerivedLayerParam of type "distance" with a value of 1 New applications should use oaDerivedLayers to represent sizing operations rather than use oaSizedLayer。

方法总览

状态 Python 调用
obj.getLayer()
obj.getOperation()
obj.getValue()
_tech.oaSizedLayer.create(layer, operation, value, name, number)
_tech.oaSizedLayer.find(tech, name)
_tech.oaSizedLayer.find(tech, number)
_tech.oaSizedLayer.find(layer, operation, value)

方法说明

obj.getLayer()

绑定状态: 已绑定

Python 调用: obj.getLayer()

This function returns a pointer to the layer from which the sized layer was created。

Python 示例

from oapy._oa import _tech

# assume obj is a oaSizedLayer
obj.getLayer()

obj.getOperation()

绑定状态: 已绑定

Python 调用: obj.getOperation()

This function returns the sizeOp used to create this SizedLayer。

Python 示例

from oapy._oa import _tech

# assume obj is a oaSizedLayer
obj.getOperation()

obj.getValue()

绑定状态: 已绑定

Python 调用: obj.getValue()

This function returns the value used to create this SizedLayer。

Python 示例

from oapy._oa import _tech

# assume obj is a oaSizedLayer
obj.getValue()

_tech.oaSizedLayer.create(layer, operation, value, name, number)

绑定状态: 已绑定

Python 调用: _tech.oaSizedLayer.create(layer, operation, value, name, number)

This functions creates a sized layer with the specified number, name, layer, operation and value。 The combination must be unique。

参数

  • layer: The layer to size。
  • operation: The sizing operation (grow, shrink)。
  • value: The amount to size the layer。
  • name: The name of the layer to create。
  • number: The number of the layer to create。

异常

  • oacLayerNumberExists
  • oacLayerNameExists
  • oacSizedLayerExists

Python 示例

from oapy._oa import _tech

_tech.oaSizedLayer.create(layer, operation, value, name, number)

_tech.oaSizedLayer.find(tech, name)

绑定状态: 已绑定

Python 调用: _tech.oaSizedLayer.find(tech, name)

This function searches the technology database associated with the given layer looking for a sized layer with the specified layer derivation。 For this variant of find function, the given layer must be in the same technology database, and the oaSizedLayer lookup is local to that database。 If the sized layer is found, a pointer to the sized layer object is returned。 Otherwise, NULL is returned。

参数

  • layer: The layer that was sized。
  • operation: The sizing operation (grow, shrink)。
  • value: The amount that the layer was sized。

Python 示例

from oapy._oa import _tech

_tech.oaSizedLayer.find(tech, name)

_tech.oaSizedLayer.find(tech, number)

绑定状态: 已绑定

Python 调用: _tech.oaSizedLayer.find(tech, number)

This function searches the specified tech looking for a sized layer with the specified number。 If the layer is found, a pointer to the sized layer object is returned; otherwise NULL is returned。 从 oaLayer 重新实现。

参数

  • tech: The technology database to search。
  • number: The layer number to find。

Python 示例

from oapy._oa import _tech

_tech.oaSizedLayer.find(tech, number)

_tech.oaSizedLayer.find(layer, operation, value)

绑定状态: 已绑定

Python 调用: _tech.oaSizedLayer.find(layer, operation, value)

This function searches the specified tech looking for a sized layer with the specified name。 If the layer is found, a pointer to the sized layer object is returned; otherwise NULL is returned。 从 oaLayer 重新实现。

参数

  • tech: The technology database to search。
  • name: The layer name to find。

Python 示例

from oapy._oa import _tech

_tech.oaSizedLayer.find(layer, operation, value)