Question: A two-way set-associative cache in a system with 32-bit addresses has four 4-byte words per line and a capacity of 1 MB. Addressing is to
A two-way set-associative cache in a system with 32-bit addresses has four 4-byte words per line and a capacity of 1 MB. Addressing is to the byte level.
(a) How many bits are there in the index and the tag?
(b) Indicate the value of the index in hexadecimal for cache entries from the following main memory addresses in hexadecimal: 00F8C00F, 4214AC89, 7142CF0F, 2BD4CF0C, and F83ACF04.
(c) Can all of the cache entries from part (b) be in the cache simultaneously?
Step by Step Solution
3.37 Rating (156 Votes )
There are 3 Steps involved in it
a Number of rows 1M4 bytesline 4 wordsline linesset 2 15 32768 The number of bit... View full answer
Get step-by-step solutions from verified subject matter experts
