Question: (5) [8 pts] Consider a 16-byte cache with 2 bytes per block, a 2-way associative mapping and a LRU (least recently used) block replacement policy

 (5) [8 pts] Consider a 16-byte cache with 2 bytes per

(5) [8 pts] Consider a 16-byte cache with 2 bytes per block, a 2-way associative mapping and a LRU (least recently used) block replacement policy is used. Assume the size of the main memory is 32 bytes. A MIPS program contains a sequence of read accesses to the main memory; the following table shows the corresponding read addresses. Complete the following table by filling a hit/miss (entry in the table shown below) of each access and the cache set number where the data is stored. (Assume the cache is empty initially). Instruction No. Address Cache set number (decimal format) Hit/Miss I1 12 13 14 15 16 17 18 19 110 111 112 0x00 Ox04 Ox01 Ox05 Ox08 Ox02 Ox18 Ox11 Ox14 Ox00 Ox1c Ox15

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 Databases Questions!