GATE / CS ARCHIVE

GATE CSE 2022 / QUESTION 40

GATE CSE 2022 Q40

Digital Logic · Combinational Circuits · Full GATE CSE 2022 paper

GATE 2022, Q40 2 marks · MCQ
Report issue

Combinational Circuits

Question 40, GATE 2022: A 16-bit control word contains mode M, an address for 1024-word memory S, and an address for 32-word register file R. Blocks P,Q select their addressed words; mode-controlled T selects one word to load display register X. Identify P,Q,T: A 10:1 mux,5:1 mux,2:1 mux; B 10:1024 decoder,5:32 decoder,2:1 encoder; C those two decoders and 2:1 mux; D 1:10 demux,1:5 demux,2:1 mux.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Selecting one of 1024 memory words requires a 10-to-1024 decoder P. Selecting one of 32 registers requires a 5-to-32 decoder Q. Mode bit M selects between the two data words through a 2-to-1 multiplexer T. The fields use 1+10+5=16 bits, consistent with the code word.

A decoder expands a binary address into one selected word line; log2(1024)=10 and log2(32)=5 give its input widths. T routes one of two data-word inputs to one output and is therefore a multiplexer, not an encoder. The mode wire is one select bit, making the complete instruction width 1+10+5=16.

Original paper, page 26 · Answer key