Question: CIS 4 8 0 / 5 8 0 Cache: In - Class Work 2 Name: _ _ _ _ _ _ _ _ _ _
CIS
Cache: InClass Work
Name:
CSU ID:
Indicate hitsmisses and updated cache tags for the following cache accesses.
a The table below shows a series of cache accesses to a direct mapped cache with a write
allocate policy of write allocate Assume the cache is initially empty valid bits cache
tags are undefined and determine whether each access is a hit or miss. Use XXXX for the
cache tag if the cache tag value is undefined.
Access
#
LoadStore Addr Tag Cache Line HitMiss
Cache Tag
for Cache
Line after
Access
Store
Load
Load
Load
Load
Store
b Repeat part a but assume a write policy of write no allocate.
Access
#
LoadStore Addr Tag Cache Line HitMiss
Cache Tag
for Cache
Line after
Access
Store
Load
Load
Load
Load
Store
c The table below shows a series of cache accesses to a way set associative cache. Assume a
replacement policy of FIFO. The write policy is write no allocate Assume the cache is
initially empty valid bits cache tags are undefined and determine whether each access
is a hit or miss. Use XXXX for the cache tag if the cache tag value is undefined.
Access
#
LoadStore Addr Tag Cache
Line HitMiss
Cache Tag for Cache
Line after Access
Block Block
Load
Load
Load
Load
Load
Load
Load
d Repeat part c but assume a replacement policy of LRU.
Access
#
LoadStore Addr Tag Cache
Line HitMiss
Cache Tag for Cache
Line after Access
Block Block
Load
Load
Load
Load
Load
Load
Load
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
