|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Classes | |
| class | ComponentCategory |
| class | ComponentFactory |
| class | ComponentInterface |
| class | ComponentJSONEncoder |
| class | ComponentManager |
| class | ComponentType |
| class | DatabaseComponent |
| class | LogicComponent |
Functions | |
| ComponentManager | create_component_manager (str db_path="components.db") |
| ComponentInterface | create_resistor (str name, float resistance, float tolerance=0.05) |
| ComponentInterface | create_capacitor (str name, float capacitance, float voltage_rating=50.0) |
| ComponentInterface | create_flipflop (str name, str ff_type="D") |
| ComponentInterface | create_counter (str name, int width=8, bool count_up=True) |
EDA组件接口 - 统一的组件管理接口 提供数据库存储组件和类定义逻辑电路的统一访问接口
| ComponentInterface zlayout.component_interface.create_capacitor | ( | str | name, |
| float | capacitance, | ||
| float | voltage_rating = 50.0 ) |
创建电容器
Definition at line 345 of file component_interface.py.
| ComponentManager zlayout.component_interface.create_component_manager | ( | str | db_path = "components.db" | ) |
创建组件管理器
Definition at line 331 of file component_interface.py.
| ComponentInterface zlayout.component_interface.create_counter | ( | str | name, |
| int | width = 8, | ||
| bool | count_up = True ) |
创建计数器
Definition at line 360 of file component_interface.py.
| ComponentInterface zlayout.component_interface.create_flipflop | ( | str | name, |
| str | ff_type = "D" ) |
创建触发器
Definition at line 355 of file component_interface.py.
| ComponentInterface zlayout.component_interface.create_resistor | ( | str | name, |
| float | resistance, | ||
| float | tolerance = 0.05 ) |
创建电阻器
Definition at line 335 of file component_interface.py.