Question: Consider a machine with a byte addressable main memory of 32M bytes and block size of 16 bytes. Assume that a direct mapped cac Time

 Consider a machine with a byte addressable main memory of 32M

Consider a machine with a byte addressable main memory of 32M bytes and block size of 16 bytes. Assume that a direct mapped cac Time left 1:19:22 256 lines is used with this machine. a) How many bits are needed to represent the tag? Answer: b) How many bits are needed to represent the cache line number? How many bits are needed to represent the byte number? Answer: d) Into what line would the byte at address 312 be stored? Answers e) How many total bytes of memory data can be stored in the cache ? Answer: Part B A two-way set-associative cache has lines with block size of 32 bytes and a total size of blocks equaling 32 Kbytes. Main memory is 32 Mtyytes and is byte addressable a) How many bits are required to express an address ? Answer: a) How many bits are needed to represent the tag? Answer: b) How many bits are needed to represent the set number? Answer: How many bits are needed to represent the byte number? Answer: d) How many blocks of memory map to the same set

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 Databases Questions!