Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A processor outputs the physical address BAAFBFF (in hex) with the following partitioning. BA AF BFF In answering the following questions, assume the memory space

A processor outputs the physical address BAAFBFF (in hex) with the following partitioning.

BA AF BFF

In answering the following questions, assume the memory space is Byte addressable and the parts (a - h) are not related to each other.

a. How many blocks does the main memory contain?

b. If Direct Mapped Cache is used, how many entries does the cache contain?

c. If Two-Way Set Associative Cache is used, how many entries does the cache contain?

d. If 4-Way Set Associative Cache is used, how many entries does the cache contain?

e. If 4-Way Set Associative Cache is used, what is the cache capacity?

f. If 4-way Set Associative is used, what is the number of segments in memory

g. If 4-way Set Associative is used, what is the cache address (entry) for the physical address generated? Show your answer in decimal.

h. Assume Fully Associative is used. Further assume that a program in execution can fit entirely into main memory. To ensure that a miss never occurs on a block once compulsory misses are satisfied, what should the minimum size of the cache be in bytes?

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

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

Describe the sources of long term financing.

Answered: 1 week ago