Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started