Run-through and oscillation are two ways a flip-flop misbehaves, both rooted in level triggering or a structural defect. This page explains how each arises and why master-slave and edge structures cure them.
Run-through means the output toggles more than once inside one active clock period. A level-triggered gated RS with feedback from Q to the inputs can toggle back and forth during the whole CP 1 window, so a counter treats one pulse as several. Run-through is not oscillation: it is redundant toggling inside one valid level, and counting always goes wrong.
Oscillation means Q and Qbar keep flipping with no clock event at all, seen when a basic RS picks up noise or a master-slave part is driven with a wrong clock pulse width. If the cross-coupled positive feedback never locks, the outputs self-oscillate between high and low. On the factory floor supply noise and ground bounce trigger it; the symptom is LEDs flickering madly and counters running away.
The cure: a master-slave flip-flop splits the cell in two, the master listens while CP 1 and the slave holds, and the master value is handed to the slave only at the falling edge, so the output updates once per cycle and run-through disappears. Edge triggering goes further and samples only at the instant. Modern sequential design uses edge or master-slave parts almost exclusively; transparent latches remain only for bus windows.
| Phenomenon | Trigger condition | Consequence | Countermeasure |
|---|---|---|---|
| Run-through | Level triggered, CP 1 | Many toggles per beat | Move to edge or master-slave |
| Oscillation | Feedback never locks | Self-excited flipping | Filter and steady the supply |
| Counting error | Caused by run-through | Over or under count | Sample on one edge |
| Master-slave | Two-stage isolation | One update per cycle | Recommended structure |
| Noise induced | Ground bounce | Occasional runaway | Decoupling and filtering |
| Transparent latch | Bus window use | Not for counting | Limit the scenario |
Use edge or master-slave flip-flops for all counting and dividing; never stand in a level latch. When a counter runs away on site, check supply decoupling and grounding first, then clock quality.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Sequential circuit reliability per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.