Skip to content
Question Bank (5 marks) · Q6

Q.With a logic circuit, explain the working of un-clocked S R flip flop built using NAND gates. Draw its timing diagram and truth table.

Karnataka PUCTextbookLong· 5mImportance★★★★★est
18% · 29/160 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

An un-clocked NAND S-R latch has active-LOW inputs: 0/1 sets, 1/0 resets, 1/1 holds, 0/0 is invalid.

Logic circuit: two 2-input NAND gates are cross-coupled — the output of gate 1 (QQ) is fed back to one input of gate 2, and the output of gate 2 (Q‾\overline{Q}) is fed back to one input of gate 1. The free input of gate 1 is SS and of gate 2 is RR. Because it is built from NAND gates, the inputs are active-LOW (an input is asserted when it is 0). There is no clock, so the output changes as soon as the inputs change.

Working (each case):

  • S=0,R=1S=0, R=1: gate 1 output Q=1Q=1 (SET). The flip-flop stores 1.
  • S=1,R=0S=1, R=0: gate 2 output Q‾=1\overline{Q}=1, so Q=0Q=0 (RESET). The flip-flop stores 0.
  • S=1,R=1S=1, R=1: neither input is asserted, so the latch holds its previous output (memory action).
  • S=0,R=0S=0, R=0: both NAND outputs are forced to 1, so Q=Q‾=1Q=\overline{Q}=1 — this violates the requirement that the two outputs be complementary and the next state is unpredictable, so it is the invalid/forbidden state.

Truth table:

SRQₙ₊₁State
001 (Q̄ also 1)Invalid / forbidden
011Set
100Reset
11QₙNo change (hold)

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.