ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Public Member Functions | |
__init__ (self, str name, str gate_type, int input_count=2) | |
str | __str__ (self) |
__init__ (self, str name, str gate_type, int input_count=2) | |
str | __str__ (self) |
Public Member Functions inherited from hierarchical_demo_simple.Component | |
__init__ (self, str name, ComponentCategory category) | |
add_child (self, 'Component' child) | |
Rectangle | calculate_hierarchical_bbox (self) |
int | get_total_gate_count (self) |
List[ 'Component'] | flatten_hierarchy (self) |
__init__ (self, str name, ComponentCategory category) | |
add_child (self, 'Component' child) | |
Rectangle | calculate_hierarchical_bbox (self) |
int | get_total_gate_count (self) |
List[ 'Component'] | flatten_hierarchy (self) |
Public Attributes | |
gate_type = gate_type | |
input_count = input_count | |
Public Attributes inherited from hierarchical_demo_simple.Component | |
name = name | |
category = category | |
position = Point(0, 0) | |
bounding_box = Rectangle(0, 0, 1, 1) | |
list | children = [] |
Optional[] | parent = None |
dict | properties = {} |
数字门电路
Definition at line 110 of file hierarchical_demo_simple.py.
hierarchical_demo_simple.DigitalGate.__init__ | ( | self, | |
str | name, | ||
str | gate_type, | ||
int | input_count = 2 ) |
Definition at line 113 of file hierarchical_demo_simple.py.
hierarchical_demo_simple.DigitalGate.__init__ | ( | self, | |
str | name, | ||
str | gate_type, | ||
int | input_count = 2 ) |
Definition at line 113 of file hierarchical_demo_simple.py.
str hierarchical_demo_simple.DigitalGate.__str__ | ( | self | ) |
Definition at line 120 of file hierarchical_demo_simple.py.
str hierarchical_demo_simple.DigitalGate.__str__ | ( | self | ) |
Definition at line 120 of file hierarchical_demo_simple.py.
hierarchical_demo_simple.DigitalGate.gate_type = gate_type |
Definition at line 115 of file hierarchical_demo_simple.py.
hierarchical_demo_simple.DigitalGate.input_count = input_count |
Definition at line 116 of file hierarchical_demo_simple.py.