The GATE Grind

GATE 2021 CS (CS1) – Question 32

Computer Organization and Architecture · Memory Interfacing and Hierarchy · 1 mark · Numerical answer

Consider a computer system with a byte-addressable primary memory of size $2^{32}$ bytes. Assume the computer system has a direct-mapped cache of size 32 KB (1 KB = $2^{10}$ bytes), and each cache block is of size 64 bytes. The size of the tag field is ______ bits.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 17

Explanation

Memory size $2^{32}$ bytes gives 32-bit addresses.

More Memory Interfacing and Hierarchy questions

All Memory Interfacing and Hierarchy questions →