Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Using the 2-way set associative D-cache depicted below; give the result of the following memory accesses. These memory accesses are byte fetches a. Write
1. Using the 2-way set associative D-cache depicted below; give the result of the following memory accesses. These memory accesses are byte fetches a. Write to AE b. Read from AGC c. Write to B4 d. Read from C7 e. Write to D2 f. Read from F4 g. Write to F7 h. Read from 29 i. Write to 10 Read from 2A Set-0 TAG | DO | DI | D2 | D3 | D4 | D5 | D6 | D7 | V | D | LRU 1010 X X X X X XX X011 0 X X X X X XX X10 0 Set-1 TAGDO D1 D2D3 D4 D5 D6 D7VDLRU 0 X X X X XXX X10 0 1100 | X |X |X |X |X |X |X |X |0 | 1 | 1 . The result should be in the format of 'H:' (hit), 'CM: (compulsory miss) or 'M: (miss) . Use the LRU replacement policy; assuming that 0 denotes LRU and 1 denotes MRU If you replace a block, assume that only the tag is changed and the data (marked as X) is unchanged All numeric values are in hexadecimal 1. Using the 2-way set associative D-cache depicted below; give the result of the following memory accesses. These memory accesses are byte fetches a. Write to AE b. Read from AGC c. Write to B4 d. Read from C7 e. Write to D2 f. Read from F4 g. Write to F7 h. Read from 29 i. Write to 10 Read from 2A Set-0 TAG | DO | DI | D2 | D3 | D4 | D5 | D6 | D7 | V | D | LRU 1010 X X X X X XX X011 0 X X X X X XX X10 0 Set-1 TAGDO D1 D2D3 D4 D5 D6 D7VDLRU 0 X X X X XXX X10 0 1100 | X |X |X |X |X |X |X |X |0 | 1 | 1 . The result should be in the format of 'H:' (hit), 'CM: (compulsory miss) or 'M: (miss) . Use the LRU replacement policy; assuming that 0 denotes LRU and 1 denotes MRU If you replace a block, assume that only the tag is changed and the data (marked as X) is unchanged All numeric values are in hexadecimal
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