Question: Suppose a computer using direct mapped cache has 2 3 2 words of main memory and a cache of 5 1 2 blocks, where each

Suppose a computer using direct mapped cache has 232 words of main memory and a cache of 512 blocks, where each cache block contains 32 words. (5 pts each)
How many blocks of main memory are there?
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?
To which cache block will the memory reference 000063FA16 map?
What is the format of a memory address as seen by the cache if the cache is 32-way set-associative instead of direct? What are the sizes of the tag, set, and word fields?
What is the format of a memory address as seen by the cache if the cache is fully-associative?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!