Q1 Consider a 128 bytes of memory and a direct mapped cache
Q1 Consider a 128 bytes of memory, and a direct mapped cache that has eight blocks with 8 bytes per block. Assume memory is byte addressable. What the size of cache is in bits including the space for valid and tag information?
Solution
when Memory = 128 bytes,
blocks = 8 bytes
then the size of cache is
8*8*8 = 512 bits of cache
