Consider the circuit shown in the figure below: The circuit consists of NAND…

Consider the circuit shown in the figure below:

image.png

The circuit consists of NAND gates only. Then which one of the following options represents the output of the logic circuit?

Attempted by 72 students.

Show answer & explanation

The circuit simplifies to f = ¬(A·B).

  1. Let x = NAND(A,B) = ¬(A·B).

  2. The top second-stage NAND has both inputs as x, so its output is NAND(x,x) = ¬(x·x) = ¬x = A·B.

  3. Let y = NAND(C,D) = ¬(C·D). The bottom second-stage NAND has inputs y and x, so its output is NAND(y,x) = ¬(y·x) = (C·D) + (A·B).

  4. The final NAND takes inputs A·B and (C·D)+(A·B), so f = ¬((A·B)·((C·D)+(A·B))).

  5. Simplify: (A·B)·((C·D)+(A·B)) = (A·B)·(C·D) + (A·B)·(A·B) = (A·B)·(C·D) + (A·B) = A·B. Thus, f = ¬(A·B).

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…