Design a 16-way set associative cache that has 512 blocks and 64 bytes per block. Assume a 32-bit address. Provide structure of the cache and the address format, similar as on Slide H47, but gates, multiplexers and comparators do not have to be included. Assume 4byte data.
1 answer:
Answer:
Check the explanation
Explanation:
Here we have 64 bytes per block so, n = 6
no of blocks = 512 nad 16-way set associate cache so
no of set = 29/24 i.e 5
So if get any address and to get individual fields we need to as follows:
Block Offset = Memory Address mod 2n
Block Address = Memory Address / 2n
Set Index = Block Address mod 2s
You might be interested in
Multiple choice question? If so let me see the choices
Question:
A computer takes a lot of time to do complex calculation.
Answer:
False!
Hope it helps you
If you are using Google Slides, Click the plus arrow in the top left hand corner of the webpage. That will add another slide to the presentation you are working on
Number 1 and 4 are the same? I agree with your answers.