Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6) Assume that the main memory of a small computer is composed of 1 Megabytes, which are mapped into a 4-kilobyte cache. The cache is

6) Assume that the main memory of a small computer is composed of 1 Megabytes, which are mapped into a 4-kilobyte cache. The cache is 4 way set associative. Blocks in main memory and block frames in the cache contain 32 bytes each.

a) Draw a diagram showing the organization of the cache indicating how physical addresses are related to the cache addresses.

b) To what block in main memory does the address 25320 belong to?

c) What memory addresses does the block 6234 contain in main memory?

d) To which set in the cache memory does the block 6234 map 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_2

Step: 3

blur-text-image_3

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

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

Students also viewed these Databases questions