Question
2-way set associative
Assume a certain 2-way set-associative cache has four sets. Mainmemory contains 2K blocks of eight words each.
a)Display the main memory address format that allows us to mapaddresses from main memory to cache. Be sure to include the fieldsaswell as their sizes.
b)Calculate the hit ratio for a program that loops 3 times fromlocations 810 to 5110 in main memory. Youmayleave the hit ratio in terms of a fraction.
Solutions
Expert Solution
No answers