The size of the physical address space of a processor is 2^𝑃 bytes. The word…

GATE Β· 2018 Β· CS Β· Computer Science & IT

The size of the physical address space of a processor is 2^𝑃 bytes. The word length is 2^π‘Š bytes. The capacity of cache memory is 2^𝑁 bytes. The size of each cache block is 2^𝑀 words. For a 𝐾-way set-associative cache memory, the length (in number of bits) of the tag field is

  1. A.

    𝑃 βˆ’ 𝑁 βˆ’ log2 𝐾

  2. B.

    𝑃 βˆ’ 𝑁 + log2 𝐾

  3. C.

    𝑃 βˆ’ 𝑁 βˆ’ 𝑀 βˆ’ π‘Š βˆ’ log2 𝐾

  4. D.

    𝑃 βˆ’ 𝑁 βˆ’ 𝑀 βˆ’ π‘Š + log2 𝐾

Attempted by 411 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…