214k views
0 votes
Suppose a computer using direct mapped cache has 220 bytes of byte-addressable main memory, and a cache of 32 blocks, where each cache block contains 16 bytes. a. How many blocks of main memory are there? b. What is the format of a memory address as seen by the cache, i.e., what are the sizes of the tag, block, and offset fields? c. To which cache block will the memory address 0DB6316 map?

User Tbrlpld
by
4.2k points

1 Answer

0 votes

Answer:

Following are given answers to each part as required.

I hope it will help you!

Step-by-step explanation:

Suppose a computer using direct mapped cache has 220 bytes of byte-addressable main-example-1
User Ruthvik
by
4.0k points