Question

Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code word is used to load a word in X, either from S or from R. S is a 1024-word memory segment and R is a 32-word register file. Based on the value of mode bit M, T selects an input word to load in X. P and 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, and T?

Digital Display System block diagram: 16-bit Code Word has fields M, S-address (into P then S), and R-address (into Q then R). Outputs of S and R go into T controlled by M, and output of T loads register X connected to DDS.
Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2022 answer key

Solution

Identify the logic blocks required for memory addressing and data path selection.

Analyzing the components:

  1. Block P receives an address and selects one word from memory segment S. Memory segment S has 1024 words, requiring log⁡2(1024)=10\log_2(1024) = 10 address lines. To select 1 out of 210=10242^{10} = 1024 locations, P acts as a 10:21010:2^{10} decoder.
  2. Block Q receives an address and selects one register from register file R. Register file R contains 32 words, requiring log⁡2(32)=5\log_2(32) = 5 address lines. To select 1 out of 25=322^5 = 32 registers, Q acts as a 5:255:2^5 decoder.
  3. Block T takes two word inputs (one from memory S and one from register file R) and uses the 1-bit mode signal M to select which word to load into register X. Thus, T is a 2:12:1 multiplexer.

Hence, P is a 10:21010:2^{10} decoder, Q is a 5:255:2^5 decoder, and T is a 2:12:1 multiplexer, matching Option (C).

Final answer

Option (C)

Common trap

Confusing decoders (which convert nn address lines to 2n2^n word select lines) with multiplexers.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2022 Computer Science and Information Technology (CS)
Question
40 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.