Question: 2 . Cache Configuration and Simulation In this problem we will consider several cache designs for a processor implementing the MIPS ISA [ Note that
Cache Configuration and Simulation
In this problem we will consider several cache designs for a processor implementing the MIPS ISA Note that this has implications needed to answer the below questions Assume that the block offset is five bits and the index is three bits.
a What is the cache block size in bytes? words? double words? pts
b How many sets does this cache have? Hint: note that both directmapped and fullyassociative caches can be considered to have sets.pts
c Record both the amount of data and metadata in bits this cache holds if it is directmapped, twoway set associative and fourway setassociative with the same number of cache sets. Also, assume cache uses writeback and writeallocate policies pts
d Simulate the directmapped and fourway set associative cache with respect to the following series of memory accesses. In the table below, indicate whether each memory access was a hit or a miss and provide the reason for each miss. Assume the caches have no valid entries to begin with and use a leastrecentlyused LRU replacement policy.pts
Write the valid entries in the final state of each cache using the format What was the hit rate of each cache?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
