GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 44

GATE CSE 2014 Set 2 Q44

Computer Organization & Architecture · Cache Memory · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q44 2 marks · MCQ
Report issue

Cache Memory

Question 44, GATE 2014: A cache's associativity doubles while its total capacity and block size stay fixed. Which is guaranteed not to be affected? A tag-comparator width; B set-index-decoder width; C way-selection-multiplexor width; D processor-to-main-memory data-bus width.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Set up the reasoning. Let capacity be C, line size B, and associativity A. The set count is C/(AB), so doubling A halves the number of sets without changing the line-offset field.

2. Derive the result. With capacity C and block size B fixed, doubling associativity halves the set count C/(AB). The set index loses one bit and the tag gains one. The way-selection fan-in doubles, while the processor-to-main-memory data-bus width need not change. Therefore D. Here multiplexor width means its way-selection configuration/fan-in, not the unchanged data-word output width.

3. Check the interpretation. The index loses a bit and the tag gains a bit. More ways require greater selection fan-in, but internal cache organization does not dictate a new external data-bus width. The keyed interpretation of multiplexor “width” is its selection configuration, not its unchanged output-word width.

Original paper, page 41 · Answer key