Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. (10 pts) A direct-mapped cache has a 64-bit address and 8M words of data ((1 word = 4 bytes). Each cache block is

image

6. (10 pts) A direct-mapped cache has a 64-bit address and 8M words of data ((1 word = 4 bytes). Each cache block is 64 bytes. Answer the following questions. (a) How many blocks are there in the cache? (b) How is a 64-bit memory address divided into tag, block index, and byte offset? Calculate the number of bits for each field. (c) Calculate the total size of the cache. 7. (10pts) A 8-way set associative cache has the same data size and block size as the direct-mapped cache in Question #6. (a) How many sets are there in the cache? (b) How is a 64-bit memory address divided into tag, set index, and byte offset? Calculate the number of bits for each field. (c) Calculate the total size of the cache. Value

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

Auditing A Practical Approach

Authors: Robyn Moroney

1st Canadian Edition

978-1118472972, 1118472977, 978-1742165943

More Books

Students also viewed these Algorithms questions