|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Public Member Functions | |
| __init__ (self, ComponentSpec component_spec, ComponentDatabase db) | |
| Dict[str, Any] | get_parameters (self) |
| set_parameter (self, str name, Any value) | |
| Dict[str, Any] | get_info (self) |
| connect (self, str pin, target, target_pin=None) | |
| Public Member Functions inherited from zlayout.component_interface.ComponentInterface | |
| __init__ (self, str name, ComponentCategory category) | |
Public Attributes | |
| spec = component_spec | |
| db = db | |
| Public Attributes inherited from zlayout.component_interface.ComponentInterface | |
| name = name | |
| category = category | |
| component_type = None | |
| dict | parameters = {} |
| dict | connections = {} |
数据库存储组件的包装器
Definition at line 80 of file component_interface.py.
| zlayout.component_interface.DatabaseComponent.__init__ | ( | self, | |
| ComponentSpec | component_spec, | ||
| ComponentDatabase | db ) |
Definition at line 83 of file component_interface.py.
| zlayout.component_interface.DatabaseComponent.connect | ( | self, | |
| str | pin, | ||
| target, | |||
| target_pin = None ) |
连接组件
Reimplemented from zlayout.component_interface.ComponentInterface.
Definition at line 109 of file component_interface.py.
| Dict[str, Any] zlayout.component_interface.DatabaseComponent.get_info | ( | self | ) |
获取组件信息
Reimplemented from zlayout.component_interface.ComponentInterface.
Definition at line 98 of file component_interface.py.
| Dict[str, Any] zlayout.component_interface.DatabaseComponent.get_parameters | ( | self | ) |
获取组件参数
Reimplemented from zlayout.component_interface.ComponentInterface.
Definition at line 90 of file component_interface.py.
| zlayout.component_interface.DatabaseComponent.set_parameter | ( | self, | |
| str | name, | ||
| Any | value ) |
设置组件参数
Reimplemented from zlayout.component_interface.ComponentInterface.
Definition at line 93 of file component_interface.py.
| zlayout.component_interface.DatabaseComponent.db = db |
Definition at line 87 of file component_interface.py.
| zlayout.component_interface.DatabaseComponent.spec = component_spec |
Definition at line 86 of file component_interface.py.