Question: You have a cache that holds 4 blocks, each block is 8 Words. Initially the cache is empty ( e . g . all blocks
You have a cache that holds blocks, each block is Words. Initially the cache is empty
eg all blocks are invalid The Main Memory is shown in the table below.
For the dot product code, below what is the final data in the cache assuming a direct
mapped bway set associative and c fully associative? Empty tables for each type of
cache are below. Write a description of how each cache works hits and misses and how
you reached your end result. For simplicity, you can drop the top bits of the address in
the table and explanation.
$
$
$
$
If a read penalty is cycles, what is the actual CPI for this code for each type of cache.
Assume a stage MIPS processor with forwarding and perfect branch prediction.
Direct mapped cache:
way associative cache:
Fully associative cache:
Please help! thank you.
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
