Question: 2 . As a cache plays an important role to provide high - performance memory hierarchy to processors. Below is a list of 3 2

2. As a cache plays an important role to provide high-performance memory hierarchy to processors. Below is a list of 32-bit memory addresses. Note that all reference addresses are word addresses.
3,2,11,180,190,15,191,72,186,77
a. Given a direct-mapped cache containing 16 one-word-size blocks. For each of these references, identify the binary address, the tag, and the index. Also list if each reference is a hit or a miss, assuming the cache is initially empty. (10 pts)
b. Suppose that the direct-mapped cache setting is changed to 8 four-word-size blocks. For each of these references, identify the binary address, the tag, and the index given a direct-mapped cache. Also list if each reference is a hit or a miss, assuming the cache is initially empty. (10 pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!