TAG |
SET INDEX |
WORD OFFSET |
22 |
5 |
7 |
Cache Size = 256 KB
Block Size = 1KB
Word Length 64 bits.
8-way Set Associative Mapping
#f blocks in Cache = 256 KB /1KB = 2^8.
1 set acquiring 8 blocks.
Total number of sets possible = 2^8/2^3=32=2^5
Word offset = words per block = 2^10*8bits/2^6 bits = 2^7.
TAg bits =22.