Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you are designing a cache for a machine with 40-bit addresses. The cache is 1MB in size. Cache blocks are 64 bytes. a. How

Suppose you are designing a cache for a machine with 40-bit addresses. The cache is 1MB in size. Cache blocks are 64 bytes.

a. How many blocks can be held in the cache

b. How many bits of the address are devoted to the offset?

c. If the cache is direct-mapped, how many bits are devoted to the tag and index?

d. If the cache is 4-way set associative, how many bits are devoted to the tag and index? How many sets are there?

e. If the cache is fully associative, how many bits are devoted to the tag and index?

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

More Books

Students also viewed these Databases questions

Question

what is the size of array 1

Answered: 1 week ago