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?
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:
- Block P receives an address and selects one word from memory segment S. Memory segment S has 1024 words, requiring address lines. To select 1 out of locations, P acts as a decoder.
- Block Q receives an address and selects one register from register file R. Register file R contains 32 words, requiring address lines. To select 1 out of registers, Q acts as a decoder.
- 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 multiplexer.
Hence, P is a decoder, Q is a decoder, and T is a multiplexer, matching Option (C).
Option (C)
Confusing decoders (which convert address lines to 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.