Skip to main content

SR flip-flop operation

Short answer

The clocked SR flip-flop is a bistable element storing one bit. When clock is high, S=1,R=0 sets Q=1; S=0,R=1 resets Q=0; S=R=0 holds state; S=R=1 is forbidden. It uses steering gates and a cross-coupled NAND latch. Characteristic table: (0,0)→Q(n); (0,1)→0; (1,0)→1; (1,1)→?

Explain the operation of SR (clocked R-S) flip-flop with necessary circuit/diagram and characteristic table.

A flip-flop is a bistable circuit with two stable states that can store one bit of data. The clocked SR flip-flop is the basic flip-flop where S (set) and R (reset) inputs act only when the clock pulse (CLK) is high.

Circuit (NAND gates)

 S  ---[NAND1]--S1--[NAND3]--+------ Q
 CLK---[      ]       ^  \   |
                      |   \  |
                      |    \ v
 CLK---[NAND2]--R1--[NAND4]--+------ Q'
 R  ---[      ]

Gates 1 and 2 are steering gates: S1 = (S·CLK)' and R1 = (R·CLK)'. Gates 3 and 4 are a cross-coupled NAND latch: Q = (S1·Q')' and Q' = (R1·Q)' (Q' feeds gate 3 and Q feeds gate 4).

Block symbol:

      +-------+
  S --|       |-- Q
 CLK -|>      |
  R --|       |-- Q'
      +-------+

Operation

  • CLK = 0: the steering gates give 1, so the latch holds its previous state.
  • CLK = 1 and S = 0, R = 0: no change, Q(n+1) = Q(n).
  • S = 0, R = 1: reset, Q = 0.
  • S = 1, R = 0: set, Q = 1.
  • S = 1, R = 1: both outputs are forced to the same level, and when the clock returns to 0 the final state is unpredictable. So this condition is invalid (forbidden).

Characteristic table

SRQ(n+1)Meaning
00Q(n)No change
010Reset
101Set
11?Invalid

Characteristic equation: Q(n+1) = S + R'Q(n), with the condition S·R = 0.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Basic Electronics Engineering chapter 6 questions →