Question: Assume we have a direct-mapped cache. The cache size is 2 n blocks (thus n bits are used for the index), and the block size

Assume we have a direct-mapped cache. The cache size is 2n blocks (thus n bits are used for the index), and the block size is 2m words (2m+2 bytes). Assume we have 32-bit addresses. What is the size (the number of bits) of each tag field? What is the total number of bits needed for this direct-mapped cache, including valid field, tag field, and data field?

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 Databases Questions!