Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. For the purpose of this exercise, we assume that we have a 256-byte cache with 64-byte blocks. We will also assume that the main

1. For the purpose of this exercise, we assume that we have a 256-byte cache with 64-byte blocks.
We will also assume that the main memory is 1 KB. We can regard the memory as an array of 64-
byte blocks: M0, M1, , M15. In this problem you are asked to show which memory blocks fall
to which cache sets (depending on set associativity). For example, if we use direct mapped cached,
M0, M4, M8, M12 fall to set zero.
a. Show which memory blocks fall to which cache line if the cache is organized as a fully-
associative cache.
b. Repeat part (a) with the cache organized as a 2-way set associative cache. Here show for
each cache set which memory blocks can be placed in that set.
c. Repeat part (a) with the cache organized as a 1-way set associative cache (that is, direct
mapped cache). Here show for each address which set it falls to.

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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

Listen! Listen! Listen!

Answered: 1 week ago