Skip to content
GATEiit

GATE CSE 2019 Q11: Fully associative 16 kB cache, 16-byte blocks, 32-bit address: tag and index bits

Syllabus topic: Memory interfacing and hierarchy: performance and cache memory mapping

Question

A certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: D (official GATE 2019 final answer key)

Concept used: In a fully associative cache there is no index field; the address splits only into tag and block offset.

Concept notes

Loading notes…

First step: Find the block-offset bits from the 16-byte block size, remember a fully associative cache has no index, and give the remaining bits to the tag.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Memory interfacing and hierarchy: performance and cache memory mapping

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2019 CS question paper and final answer key, organised by IIT Madras. Question paper · Answer key