2078 10

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]

Digital LogicChapter 8: Flip-Flops and LatchesSR latch and clocked RS flip-flop

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

CLKSRQ (next)Q' (next)Remarks
0XXQ (no change)Q'Clock disabled, state retained
100Q (no change)Q'No change
10101Reset (Q = 0)
11010Set (Q = 1)
111??Forbidden / Invalid state

X = Don't care (any value)


Explanation of States

ConditionBehavior
CLK = 0Flip-flop is disabled; output Q holds its previous value
S=0, R=0, CLK=1No change; Q remains as it was
S=1, R=0, CLK=1Set condition; Q becomes 1
S=0, R=1, CLK=1Reset condition; Q becomes 0
S=1, R=1, CLK=1Forbidden 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.