Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Indicate hits / misses and updated cache tags for the following cache accesses. a . The table below shows a series of cache
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started