|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Public Member Functions | |
| __init__ (self, str name, ComponentCategory category) | |
| 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 Attributes | |
| name = name | |
| category = category | |
| component_type = None | |
| dict | parameters = {} |
| dict | connections = {} |
组件接口基类
Definition at line 50 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.__init__ | ( | self, | |
| str | name, | ||
| ComponentCategory | category ) |
Definition at line 53 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.connect | ( | self, | |
| str | pin, | ||
| target, | |||
| target_pin = None ) |
连接组件
Reimplemented in zlayout.component_interface.DatabaseComponent, and zlayout.component_interface.LogicComponent.
Definition at line 76 of file component_interface.py.
| Dict[str, Any] zlayout.component_interface.ComponentInterface.get_info | ( | self | ) |
获取组件信息
Reimplemented in zlayout.component_interface.DatabaseComponent, and zlayout.component_interface.LogicComponent.
Definition at line 71 of file component_interface.py.
| Dict[str, Any] zlayout.component_interface.ComponentInterface.get_parameters | ( | self | ) |
获取组件参数
Reimplemented in zlayout.component_interface.DatabaseComponent, and zlayout.component_interface.LogicComponent.
Definition at line 61 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.set_parameter | ( | self, | |
| str | name, | ||
| Any | value ) |
设置组件参数
Reimplemented in zlayout.component_interface.DatabaseComponent, and zlayout.component_interface.LogicComponent.
Definition at line 66 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.category = category |
Definition at line 55 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.component_type = None |
Definition at line 56 of file component_interface.py.
| dict zlayout.component_interface.ComponentInterface.connections = {} |
Definition at line 58 of file component_interface.py.
| zlayout.component_interface.ComponentInterface.name = name |
Definition at line 54 of file component_interface.py.
| dict zlayout.component_interface.ComponentInterface.parameters = {} |
Definition at line 57 of file component_interface.py.