Question: 15. Consider a computer system with a direct-mapped cache and 16-bit addresses where the bits are allocated as follows: Tag 15-8 Index 7-6 Byte
15. Consider a computer system with a direct-mapped cache and 16-bit addresses where the bits are allocated as follows: Tag 15-8 Index 7-6 Byte offset 5-0 a) What is the cache block size in bytes? b) How many entries (blocks) does the cache have? (5%) (5%) c) Starting from an empty cache, determine whether each of the following block accesses is a miss or a hit, and calculate the hit ratio in the cache: 15, 7, 10, 7, 15, 2, 6, 2. (10%)
Step by Step Solution
There are 3 Steps involved in it
a The cache block size in bytes can be determined from the Byte offset column Since the byte offset ... View full answer
Get step-by-step solutions from verified subject matter experts
