Question

Question 28 7 pts Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing a total of 64K bytes
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given byte-addressable computer with 24bit address.

Its meaning is that the computer has word size of 1 byte.

24 bit address means the main memory instructions size is of 24 bit address.

In direct mapping cache memory

Tag bit cache line offset bit block offset bit

<------------------------- 24 bits ------------------------------------------------------------------->

here given that computer has block offset of 32 bytes. means it will be represented by 5 bit of data for block offset.

Cache is capable of storing 64K (216) Bytes of data, it can be represented by 16 bit of the data

As there is only 3 fields and total bits is 24 bits . Therefore tag bit can be calculated as 24 - 16 - 5 = 3 bit. 3 bits assigned for the tag field.

Tag field (3 bit) Line offset (16 bit) Block offset (5 bit)

<------------------------------- 24 bits ----------------------------------------------------------->

For the directmapping, the format of the memory address is as follows

3 bits for the tag field

16 bits for the cache block number

and 5 bits for the block offset.

Hope you find this answer helpful. Vote up. Thanks

Add a comment
Know the answer?
Add Answer to:
Question 28 7 pts Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing...
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