Skip to content
Official PYQ · 2004

GATE CS 2004 Q58 — Combinational Circuits

Explain with AI

A circuit outputs a digit in the form of 44 bits. 00 is represented by 0000,10000, 1 by 0001,…,90001, \ldots, 9 by 10011001. A combinational circuit is to be designed which takes these 44 bits as input and outputs 11 if the digit ≥\geq 55, and 00 otherwise. If only AND,OR\textsf{AND}, \textsf{OR} and NOT\textsf{NOT} gates may be used, what is the minimum number of gates required?

Choose one option
View worked solution

Answer: B

To find the minimum number of gates required, let the 4-bit input representing the decimal digits 00 to 99 be A,B,C,DA, B, C, D (where AA is the MSB and DD is the LSB).

Since the input represents a decimal digit, the values from 1010 to 1515 (10101010 to 11111111) do not occur and are treated as don't care conditions (dd).

The output YY must be 11 if the digit is ≥5\ge 5 (i.e., 5,6,7,8,95, 6, 7, 8, 9).

1. K-Map Simplification

We map the minterms and don't cares onto a 4-variable K-map:

  • Minterms (mm): 5,6,7,8,95, 6, 7, 8, 9
  • Don't cares (dd): 10,11,12,13,14,1510, 11, 12, 13, 14, 15
AB\CDAB \backslash CD 00 01 11 10
00 0 0 0 0
01 0 1 (5) 1 (7) 1 (6)
11 X (12) X (13) X (15) X (14)
10 1 (8) 1 (9) X (11) X (10)

From the K-map, we can form the following groups:

  1. An 8-cell group combining rows 1111 and 1010: Term=A\text{Term} = A
  2. A 4-cell group covering cells (5,7,13,15)(5, 7, 13, 15): Term=BD\text{Term} = BD
  3. A 4-cell group covering cells (6,7,14,15)(6, 7, 14, 15): Term=BC\text{Term} = BC

Thus, the simplified Boolean expression is: Y=A+BD+BCY = A + BD + BC Factoring out BB gives: Y=A+B(C+D)Y = A + B(C + D)

2. Gate Count Analysis

We can implement the expression Y=A+B(C+D)Y = A + B(C + D) using the following gates:

  1. One 2-input OR gate to compute G1=C+DG_1 = C + D.
  2. One 2-input AND gate to compute G2=B⋅G1G_2 = B \cdot G_1.
  3. One 2-input OR gate to compute Y=A+G2Y = A + G_2.

No NOT\text{NOT} gates are required since all variables are in their uncomplemented forms.

Therefore, the minimum number of gates required is 33.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinational Circuits questions