Question: i . Consider a word - addressable main memory consisting of eight blocks, and a cache with two blocks, where each block is 4 words.

i. Consider a word-addressable main memory consisting of eight blocks, and a cache with two blocks, where each block is 4 words. How many bits are needed for the offset, block, and tag fields if you use a direct-mapped cache?
ii. Assume a byte-addressable memory consists of 2^14 bytes, cache has 16 blocks, and each block has 8 bytes.

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!