Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 ( 2 0 points ) : In this question you will demonstrate that you understand how the data stored in caches is organized.

Question 1(20 points): In this question you will demonstrate that you understand how the data stored in caches is organized. Assume that each cache operates in a machine with a 32-bit virtual address.
(10 points) For each of the cache configurations below, indicate how many bits are used for byte offset, for cache index, and for tag.
\table[[Cache capacity,Associativity,Size of Cache Block,Tag Size,Index Size,Byte offset size],[64KB,Direct mapped,128 bytes,,,],[32KB,2-way,64 bytes,,,],[32MB,8-way,512 bytes,,,]]
10 points The table below contains the same cache organizations listed in the table above. Using binary notation, provide the value of the tag and the value of the cache index for a memory reference to the address 0xABCD EF78. Also indicate which word within the block is being accessed. The word at offset 0 is word #0, the word at offset 4 is word #1, etc.
\table[[\table[[Cache],[capacity]],Associativity,Cache Block,Tag,Index,word accessed],[64KB,Dir. map.,128 bytes,,,],[32KB,2-way,64 bytes,,,],[32MB,8-way,512 bytes,,,]]
image text in transcribed

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

Demystifying Databases A Hands On Guide For Database Management

Authors: Shiva Sukula

1st Edition

8170005345, 978-8170005346

More Books

Students also viewed these Databases questions

Question

Describe loss aversion and myopic loss aversion.

Answered: 1 week ago