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:
This exercise examines the effect of different cache designs,
specifically comparing associative caches to the directmapped
caches from Section For these exercises, refer to the sequence
of word address shown below.
xxbxbxxbe, xxbfxexfxb
xbf Oxba, xe Oxce
$ Sketch the organization of a threeway set
associative cache with twoword blocks and a total size of
words. Your sketch should have a style similar to Figure
but clearly show the width of the tag and data fields.
$ Trace the behavior of the cache from Exercise
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.
Sketch the organization of a fully associative
cache with oneword blocks and a total size of eight words.
Your sketch should have a style similar to Figure but
clearly show the width of the tag and data fields.
$ Trace the behavior of the cache from Exercise
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.
$ Sketch the organization of a fully associative
cache with twoword blocks and a total size of eight words.
Your sketch should have a style similar to Figure but
clearly show the width of the tag and data fields.
$ Trace the behavior of the cache from Exercise
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.
$ Repeat Exercise using MRU most recently
used replacement.
$ Repeat Exercise using the optimal
replacement policy ie the one that gives the lowest miss
rate
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
