Question: A two - way set - associative cache in a system with 3 2 - bit addresses has four 4 - byte words per line

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

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!