Question: Assignment Suppose a computer using direct mapped cache has 2 3 2 words of main memory and a cache of 5 1 2 blocks, where
Assignment
Suppose a computer using direct mapped cache has words of main memory and a cache
of blocks, where each cache block contains words. pts each
a How many blocks of main memory are there?
b What is the format of a memory address as seen by the cache, that is what are the
sizes of the tag, block, and word fields?
c To which cache block will the memory reference map?
d What is the format of a memory address as seen by the cache if the
cache is way setassociative instead of direct? What are the sizes
of the tag, set, and word fields?
e What is the format of a memory address as seen by the cache if the
cache is fullyassociative?
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
