Latches and Edge-Triggered Flip-Flops
A level-sensitive latch may follow its input while enabled. An edge-triggered flip-flop updates according to a selected clock transition.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace an interval
While an active-high latch is enabled, a data transition can appear at its output after propagation. When the latch closes it retains the last valid value. A flip-flop can instead store the value observed at the rising edge. Sequential state explains what remains visible afterward.
Check the timing conditions
Signals must satisfy the particular device's timing constraints. A transition near the sampling event can make the captured result unreliable. See setup and hold.[1]
Change data within the latch's open interval
A high-transparent D latch can reflect input changes while its enable is high. A rising-edge D flip-flop captures data around the rising edge and keeps the sampled state between edges. If data changes after the capture while the latch remains open, their outputs can diverge. See setup and hold.
Start data=0
Rising edge samples 0
Data changes to 1 during high interval
Open latch may follow 1. The flip-flop retains 0 until a later sample.
State timing assumptions around each event
Real devices have propagation and observation windows. A data change too close to a sampling edge cannot be treated as a reliable ordinary value. Use a known margin for a trace intended to illustrate stable behavior.