BIT103 ยท 2078 ยท 5 marks
What is clocked RS flip-flop? Explain with logic diagram and characteristic table.
What is clocked RS flip-flop? Explain with logic diagram and characteristic table. [5]
Quick answer
A clocked RS flip-flop (also called a synchronous RS flip-flop or gated SR latch) is a sequential logic circuit that has an additional clock (CLK) input which controls when the flip-flop responds to its S (Set) and R (Reset) inputs. The output changes state only when the clock signal is active (HIGH); otherwise, the flip-flop retains its previous state regardless of S and R inputs.
Clocked RS Flip-Flop
Definition
Logic Diagram
The clocked RS flip-flop is constructed using two AND gates added to the basic SR NOR/NAND latch:
S ----\
AND Gate 1 -----> S' ----> [Basic SR Latch] ----> Q
CLK ---/
R ----\
AND Gate 2 -----> R' ----> [Basic SR Latch] ----> Q'
CLK ---/
Detailed Logic Diagram:
S ---| \
| & |------- S_in ------+----[NOR]----+---- Q
CLK ---| / | |
| |
R ---| \ | |
| & |------- R_in ------+----[NOR]----+---- Q'
CLK ---| /
More precisely:
S ---[AND]---+
CLK--| |---> to NOR latch (S input) ---> Q
|
R ---[AND]---+
CLK--| |---> to NOR latch (R input) ---> Q'
- When CLK = 0: Both AND gate outputs are 0, latch is disabled, Q retains its state.
- When CLK = 1: S and R inputs are passed through to the latch.
Characteristic Table
| CLK | S | R | Q (next) | Q' (next) | Remarks |
|---|---|---|---|---|---|
| 0 | X | X | Q (no change) | Q' | Clock disabled, state retained |
| 1 | 0 | 0 | Q (no change) | Q' | No change |
| 1 | 0 | 1 | 0 | 1 | Reset (Q = 0) |
| 1 | 1 | 0 | 1 | 0 | Set (Q = 1) |
| 1 | 1 | 1 | ? | ? | Forbidden / Invalid state |
X = Don't care (any value)
Explanation of States
| Condition | Behavior |
|---|---|
| CLK = 0 | Flip-flop is disabled; output Q holds its previous value |
| S=0, R=0, CLK=1 | No change; Q remains as it was |
| S=1, R=0, CLK=1 | Set condition; Q becomes 1 |
| S=0, R=1, CLK=1 | Reset condition; Q becomes 0 |
| S=1, R=1, CLK=1 | Forbidden state; both Q and Q' try to become 1, which is undefined and must be avoided |
Key Points
- The clock input provides synchronization in digital systems.
- The condition S = R = 1 is not allowed (forbidden/invalid).
- The characteristic equation is:
$$Q_{next} = S + \overline{R} \cdot Q \quad \text{with constraint } S \cdot R = 0$$
- This flip-flop forms the basis for more advanced flip-flops like JK and D flip-flops.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.