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

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 AC 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 j. Read from 2A

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.

image text in transcribed

Set-0 TAGDOD1 D2 D3 D4D5D6D7VD LRU 1010 X X XX XXXX011 Set-1 TAGDOD1 D2 D3 D4 D5D6D7 VD LRU 1011X X XXXX XX10 0 1100X X XX X X X X01 1 Set-0 TAGDOD1 D2 D3 D4D5D6D7VD LRU 1010 X X XX XXXX011 Set-1 TAGDOD1 D2 D3 D4 D5D6D7 VD LRU 1011X X XXXX XX10 0 1100X X XX X X X X01 1

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

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago