Skip to content
Official PYQ · 2022

GATE CS 2022 Q30 — Combinational Circuits

Explain with AI

Consider a digital display system (DDS)\text{(DDS)} shown in the figure that displays the contents  of register X.\text{X}. A 16–bit16 – \text{bit} code word is used to load a word in X,\text{X}, either from S\text{S} or from R.\text{R}. S\text{S} is a 1024−1024-word memory segment and R\text{R} is a 32−32-word register file. Based on the value of mode bit  M, T\text{M, T} selects an input word to load in X. P\text{X. P} and Q\text{Q} interface with the corresponding bits in the code word to choose the addressed word. Which one of the following represents the functionality of  P, Q,\text{P, Q,} and T?\text{T}?

Choose one option
View worked solution

Answer: C

To determine the functionality of components P\text{P}, Q\text{Q}, and T\text{T}, we analyze their roles in the digital display system:

  1. Functionality of P\text{P} (Addressing Memory S\text{S}):
    • Memory segment S\text{S} contains 10241024 words (1024=2101024 = 2^{10}).
    • To select one specific word out of 10241024 words, a 1010-bit address is required.
    • A decoder takes nn input lines and activates one of the 2n2^n output lines. Therefore, a 10:21010 : 2^{10} decoder is needed to decode the 1010-bit address and select the corresponding word in S\text{S}.
    • Thus, P\text{P} is a 10:21010 : 2^{10} decoder.
  2. Functionality of Q\text{Q} (Addressing Register File R\text{R}):
    • Register file R\text{R} contains 3232 words (32=2532 = 2^5).
    • To select one specific register out of 3232, a 55-bit address is required.
    • Similarly, a 5:255 : 2^5 decoder is needed to decode the 55-bit address and select the corresponding register in R\text{R}.
    • Thus, Q\text{Q} is a 5:255 : 2^5 decoder.
  3. Functionality of T\text{T} (Selecting the Input to Register X\text{X}):
    • T\text{T} takes two data inputs (one from memory S\text{S} and one from register file R\text{R}) and routes one of them to register X\text{X}.
    • The selection is controlled by a single mode bit M\text{M}.
    • A combinational circuit that selects one of 2n2^n inputs based on nn select lines is a multiplexer (MUX). Since there are 22 inputs and 11 select line, T\text{T} is a 2:12:1 multiplexer.

Combining these results, we have:

  • P\text{P}: 10:21010:2^{10} decoder
  • Q\text{Q}: 5:255:2^5 decoder
  • T\text{T}: 2:12:1 multiplexer

This corresponds to Option C.

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

Published
Report a correction
Keep exploringMore Combinational Circuits questions