Linked answer questions
Statement for Linked Answer Questions 54 and 55:
A computer has a 256 KByte, 4-way set associative, write back data cache with block size of 32 Bytes. The processor sends 32 bit addresses to the cache controller. Each cache tag directory entry contains, in addition to address tag, 2 valid bits, 1 modified bit and 1 replacement bit.
Shared with question 54.
Question
The size of the cache tag directory is
Official answer and solution
- Official answer
- A
- From
- Official GATE 2012 answer key
Solution
Multiply total cache lines by the bit width of each cache tag directory entry.
- Bit components in each tag directory entry:
- Tag field = 16 bits (from Q54).
- Valid bits = 2 bits.
- Modified (dirty) bit = 1 bit.
- Replacement bit = 1 bit.
-
Total number of cache lines = lines.
-
Total size of tag directory:
- This matches option (A).
A
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2012 Computer Science and Information Technology (CS)
- Question
- 55 of 65, printed as CS Q.55
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.