Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do all of the parts. Consider a direct-mapped cache with 4 word blocks, which is byte addressable. a) If this cache holds 64 KB

Please do all of the parts. image text in transcribed
Consider a direct-mapped cache with 4 word blocks, which is byte addressable. a) If this cache holds 64 KB of data, how many index bits does it need and why? b) What is the total cache size that holds these data considering that it uses 2-bit word offset and 2-bit block offset (do not forget about the Valid bits it uses); c) d) We decide to increase the amount of data the cache can hold to 128 KB. Each block this e) What is the total size of this new cache, if it uses 3-bit word offset and a number of bits f) Draw the cache in question d) and compare the number of index and tag bits with those Sketch this direct-mapped cache, and explain how hits and misses are determined. time has 8 words. How many index bits does this new cache have and why? needed by the MUX to determine which word is needed by the pipeline of question c)

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

Students also viewed these Databases questions