Question: Suppose a computer using direct-mapped cache has 2 32 bytes of byte-addressable main memory and a cache size of 512 bytes, and each cache block

Suppose a computer using direct-mapped cache has 2 32 bytes of byte-addressable main memory and a cache size of 512 bytes, and each cache block contains 64 bytes

a) How many blocks of main memory are there? 

b) What is the format of a memory address as seen by cache; that is, what are the sizes of the tag, block, and offset fields? 

c) To which cache block will the memory address 0x13A4498A map?  

Step by Step Solution

3.41 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To determine the number of blocks of main memory we need to divide the total main memory size by t... View full answer

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 Essentials Of Computer Organization Questions!