Question

For a direct-mapped cache design with a 32-bit address, the following bits of the address are...

For a direct-mapped cache design with a 32-bit address, the following bits of the address are used to access the cache.

Tag

Index

Offset

31-10

9-4

3-0

How many entries does the cache have?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The index has 6 bits(9-4+1), and therefore the cache has 26= 64 entries.

Block size = 2Nwhere N = (number of offset bits-2) = 4-2 = 2. (Note that the “-2” is due to using 32-bit words and byte-addressed memory.) Block size = 22= 4 words

Alternately, block size = 2(number of offset bits)bytes.

Block size = 24= 16 bytes = 4 words

Add a comment
Know the answer?
Add Answer to:
For a direct-mapped cache design with a 32-bit address, the following bits of the address are...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT