Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 6 . Caches are important to providing a high - performance memory hierarchy to processors. Below is a list of 6 4 - bit

Q6. Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of 64-bit memory address references, given as word addresses.
003,0b4,02b,002,0xbf,058,0be,00e,0xb5,
0x2c, Oxba, 0xid
a) For each of these refenences, identify the binary word address, the tag, and the index given a direct-mapped cache with 16 oneword blocks. Also list whether each reference is a hit or a miss, assuming the cache is initially empty.
b) For each of these references, identify the binary word address, the tag, the index, and the offset given a direct-mapped cache with two-word blocks and a total size of eight blocks. Also list if each reference is a hit or a miss, assuming the cache is initially empty.
Q7: By convention, a cache is named according to the amount of data it contains (i e, a 4KB cache can hold 4KB of data); however, caches also require SRAM to store metadata such as tags and valid bits. For this exercise, you will examine how a cache's configuration affects the total amount of SRAM needed to implement it as well as the performance of the cache. For all parts, assume that the caches are byte addressable, and that addresses and words are 64 bits.
A) Calculate the total number of bits required to implement a 32 KBB cache with two-word blocks.
B) Calculate the total number of bits required to implement a 64KJB cache with 16-word blocks. How much bigger is this cache than the 32KIB cache described in Exercise Q7. A?(Notice that, by changing the block size, we doubled the amount of data without doubling the total size of the cache.)
Q8: For a direct-mapped cache design with a 64-bit address, the following bits of the address are used to access the cache.
\table[[Tas,Indox,Offset],[63-10,9-5,4-0
image text in transcribed

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

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

Define self-esteem and discuss its impact on your life.

Answered: 1 week ago