Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been designated to design a 6 4 KB n way set associative cache. Each block in the memory is 1 6 Bytes. The
You have been designated to design a KB n way set associative cache. Each block in the memory is Bytes. The cache should be Virtually Indexed Physically Tagged type to avoid aliasing. The virtual address is bits long. The physical address is bits long. Page offset has the same length number of bits in both the virtual and physical address. The selected page size is KB We know that the physical page offset is the total number of bits of the byte offset and cacheset index.
a How many sets can this cache have?
b How many block frames are there per set in the cache?
c The characteristics of a KB n way set associative SA cache, a KB DM cache, and that of a KB n way SA Way Prediction Way P cache are given in the table below, where n is found in part b of this problem. Use the Average Memory Access Time to decide if the KB n way SA Way P cache perform better than the KB n way SA
KB n way SA
KB DM
KB n way SA WayP
Hit Rate
Hit Latency
or
Miss Penalty
AMAT
AMAT Calculation
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