Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose the memory word address is 30-bit long and the cache size is 4K words for data. (We dont count the tag portion of the

Suppose the memory word address is 30-bit long and the cache size is 4K words for data. (We dont count the tag portion of the cache when the cache size is presented.)

A. If the cache is direct-mapped and has the block size is one word. How many bits should the block index have? How many bits should the word offset have? How many bits should the tag have? What is the total number of tag bits for this cache? If we define the ratio of total number of tag bits over total number of data bits as the tag-storage overhead, assuming each data word of size 64 bits, what is the tag-storage overhead?

B. Repeat (A) under the assumption that the cache is 4-way set-associative, and the block size is still one word.

C. Repeat (A) under the assumption that the cache is direct-mapped, but the block size is 4 words.

D. Repeat (A) under the assumption that the cache is 4-way set-associative and the block size is 4 words.

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

Students also viewed these Databases questions

Question

=+36-1 Describe the structural components of a language.

Answered: 1 week ago