ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
zlayout.component_interface.DatabaseComponent Class Reference
Inheritance diagram for zlayout.component_interface.DatabaseComponent:
Collaboration diagram for zlayout.component_interface.DatabaseComponent:

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 = {}

Detailed Description

数据库存储组件的包装器

Definition at line 80 of file component_interface.py.

Constructor & Destructor Documentation

◆ __init__()

zlayout.component_interface.DatabaseComponent.__init__ ( self,
ComponentSpec component_spec,
ComponentDatabase db )

Definition at line 83 of file component_interface.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ connect()

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.

◆ get_info()

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.

◆ get_parameters()

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.

◆ set_parameter()

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.

Member Data Documentation

◆ db

zlayout.component_interface.DatabaseComponent.db = db

Definition at line 87 of file component_interface.py.

◆ spec

zlayout.component_interface.DatabaseComponent.spec = component_spec

Definition at line 86 of file component_interface.py.


The documentation for this class was generated from the following file: