Question: 4. A computer has byte addressable memory with a cache that can hold eight 32-bit data (4 bytes). Each cache block consists of four bytes.

4. A computer has byte addressable memory with a cache that can hold eight 32-bit data (4 bytes). Each cache block consists of four bytes. The following sequence of hex addresses are during program execution: 200, 204, 208, 20C, 2F4, 200, 204, 218, 21C, 24C, 2F4 Assuming that the cache is initially empty, show the line address of the cache if (i) Direct mapping is used (ii) 2-way set associative mapping with LRU replacement is used. (20 marks)

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!