# A) How many total bits are required for a direct mapped cache with 2

Content type
User Generated
Rating
Showing Page:
1/1
a) How many total bits are required for a direct-mapped
cache with 2048 entries each holding an 8 word (of 32 bits
or 4 bytes) block, assuming a 32-address?
b) Discuss with the help of a diagram the logic to check a
hit or miss (that is, presence or absence) of a required
memory block in the cache described a), and acess a
specific word of the block in case of a hit. label all the
fields in a cache word.
Solution
1(a) We have given , 2048 entries = 2^11 means 11 index
bits for 2048
8 words = 2^3 = 3 bits for 8 words
Therefore total bits = 32 - 11 - 3 = 18 bits

Unformatted Attachment Preview
a) How many total bits are required for a direct -mapped cache with 2048 entries each holding an 8 word (of 32 bits or 4 bytes) block, assuming a 32 -address? b) Discuss with the help of a diagram the logic to check a hit or miss (that is, presence or absence) of a required memory block in the cache ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

### Review

Anonymous
Really helpful material, saved me a great deal of time.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4