A direct mapped cache consists of 4 blocks of 16 words per block. Main memory contains 32K blocks of 16 words each.

A direct mapped cache consists of 4 blocks of 16 words per block. Main memory contains 32Kblocks of 16 words each. The hit time for a cache access is 10 ns, and the miss time is 200 ns,which includes the time to transfer the missed block from the main memory to the cache. Note:When referring to memory, 1K = 1024. Compute the hit ratio for a program that loops 10 timesfrom locations 0 – 64