Question: I need help with this: 5 . 1 1 This exercise examines the effect of different cache designs, specifically comparing associative caches to the direct

I need help with this:
5.11 This exercise examines the effect of different cache designs,
specifically comparing associative caches to the direct-mapped
caches from Section 5.4. For these exercises, refer to the sequence
of word address shown below.
0x03,0xb4,0x2b,0x02,0xbe, 0x58,0xbf,0x0e,0x1f,0xb5,
0xbf, Oxba, 0x2e, Oxce
5.11.1[10] $5.4> Sketch the organization of a three-way set
associative cache with two-word blocks and a total size of 48
words. Your sketch should have a style similar to Figure 5.18,
but clearly show the width of the tag and data fields.
5.11.2[10]$5.4> Trace the behavior of the cache from Exercise
5.11.1. Assume a true LRU replacement policy. For each
reference, identify
the binary word address,
the tag,
the index,
the offset
whether the reference is a hit or a miss, and
which tags are in each way of the cache after the reference has
been handled.
5.11.3[5]5.4> Sketch the organization of a fully associative
cache with one-word blocks and a total size of eight words.
Your sketch should have a style similar to Figure 5.18, but
clearly show the width of the tag and data fields.
5.11.4[10] $5.4> Trace the behavior of the cache from Exercise
5.11.3. Assume a true LRU replacement policy. For each
reference, identify
the binary word address,
the tag,
the index,
the offset,
whether the reference is a hit or a miss, and
the contents of the cache after each reference has been
handled.
5.11.5[5]$5.4> Sketch the organization of a fully associative
cache with two-word blocks and a total size of eight words.
Your sketch should have a style similar to Figure 5.18, but
clearly show the width of the tag and data fields.
5.11.6[10] $5.4> Trace the behavior of the cache from Exercise
5.11.5. Assume an LRU replacement policy. For each reference,
identify
the binary word address,
the tag,
the index,
the offset,
whether the reference is a hit or a miss, and
the contents of the cache after each reference has been
handled.
5.11.7[10] $5.4> Repeat Exercise 5.11.6 using MRU (most recently
used) replacement.
5.11.8[15] $5.4> Repeat Exercise 5.11.6 using the optimal
replacement policy (i.e., the one that gives the lowest miss
rate).
I need help with this: 5 . 1 1 This exercise

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 Programming Questions!