Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

=+industrial action Under what circumstances can unions strike?

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago