An SR flip-flop (clocked SR flip-flop) works like an SR latch whose inputs are only looked at on the active clock edge.
At each rising edge:
- S = 0, R = 0: hold.
- S = 1, R = 0: set, Q⁺ = 1.
- S = 0, R = 1: reset, Q⁺ = 0.
- S = 1, R = 1: not allowed. The result is undefined.
Between edges, Q holds, whatever S and R do.
Its characteristic equation is Q⁺ = . That comes from a K-map in which the two S = R = 1 rows are treated as don't cares, so the equation is only valid as long as S and R are never 1 together.
The SR flip-flop is mostly a stepping stone. Its forbidden input is awkward, so practical designs use:
- the JK flip-flop, which turns S = R = 1 into a toggle, or
- the D flip-flop, which has only one data input and so cannot be given conflicting commands.
Its excitation table: 0 → 0 needs S = 0, R = X; 0 → 1 needs S = 1, R = 0; 1 → 0 needs S = 0, R = 1; 1 → 1 needs S = X, R = 0.
| S\RQ | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 0m0 | 1m1 | 0m3 | 0m2 |
| 1 | 1m4 | 1m5 | Xm7 | Xm6 |