|
ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
|
Public Member Functions | |
| __init__ (self, str name, str ff_type="D") | |
| on_clock_edge (self) | |
| reset (self) | |
| Public Member Functions inherited from zlayout.logic_circuits.SequentialLogic | |
| __init__ (self, str name) | |
| add_input (self, str signal_name) | |
| add_output (self, str signal_name) | |
| bool | check_timing (self) |
Public Attributes | |
| str | ff_type = ff_type |
| Public Attributes inherited from zlayout.logic_circuits.SequentialLogic | |
| name = name | |
| clock_signal = Signal("clock") | |
| reset_signal = Signal("reset") | |
| enable_signal = Signal("enable") | |
| dict | inputs = {} |
| dict | outputs = {} |
| dict | internal_state = {} |
| clock_edge = ClockEdge.RISING | |
| float | setup_time = 0.1 |
| float | hold_time = 0.1 |
| float | propagation_delay = 0.5 |
Protected Member Functions | |
| _handle_d_ff (self) | |
| _handle_jk_ff (self) | |
| _handle_sr_ff (self) | |
触发器
Definition at line 120 of file logic_circuits.py.
| zlayout.logic_circuits.FlipFlop.__init__ | ( | self, | |
| str | name, | ||
| str | ff_type = "D" ) |
Definition at line 123 of file logic_circuits.py.
|
protected |
处理D触发器
Definition at line 160 of file logic_circuits.py.
|
protected |
处理JK触发器
Definition at line 170 of file logic_circuits.py.
|
protected |
处理SR触发器
Definition at line 194 of file logic_circuits.py.
| zlayout.logic_circuits.FlipFlop.on_clock_edge | ( | self | ) |
时钟边沿触发
Reimplemented from zlayout.logic_circuits.SequentialLogic.
Definition at line 144 of file logic_circuits.py.
| zlayout.logic_circuits.FlipFlop.reset | ( | self | ) |
复位
Reimplemented from zlayout.logic_circuits.SequentialLogic.
Definition at line 217 of file logic_circuits.py.
| str zlayout.logic_circuits.FlipFlop.ff_type = ff_type |
Definition at line 125 of file logic_circuits.py.