Both master-slave and edge-triggered flip-flops cure run-through, but their mechanism and performance differ. This page compares the structures, when each samples, and the pulse-triggered variant that fools people.
A master-slave flip-flop has two stages: the master listens transparently while CP is 1 and the slave holds; at the falling edge the master is blocked and hands its stored value to the slave. The output therefore updates once per cycle at the falling edge and run-through is gone. The catch: the slave carries whatever the master last saw, so the input must stay stable during the whole CP 1 window.
An edge-triggered flip-flop uses hold-blocking gates internally and samples D only at the rising or falling edge instant, frozen before and after. It is stricter than master-slave: the input may wander all through CP 1 as long as it is quiet around the edge window. That makes it more noise tolerant, and it is the mainstream for registers and counters today.
Choosing between them: master-slave updates at the falling edge, edge-triggered at its specified edge; master-slave demands stability during CP 1, edge parts only around the window; master-slave is simpler but slower, edge parts faster. Beware the pulse-triggered master-slave JK, triggered once during CP 1 and released at the falling edge, easily confused with true edge action; tell them apart by the triangle plus bubble on the symbol.
| Item | Master-slave | Edge triggered |
|---|---|---|
| Sampling | Listens at CP 1, out at falling edge | One instant at the clock edge |
| Input demand | Stable during CP 1 | Stable only in the window |
| Run-through | Eliminated | Eliminated |
| Noise immunity | Moderate | Strong |
| Update edge | Falling edge | Specified edge |
| Speed | Slower | Faster |
Edge-triggered parts are the safest choice for registers and counters; master-slave JK chips are still common in legacy boards, so read the datasheet for pulse-triggered versus edge action before swapping.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Sequential devices 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.