Question: 2. You are designing a 32 Kbyte direct mapped cache for a processor witlh 32 bit addresses. If you use blocks that are 16 bytes
2. You are designing a 32 Kbyte direct mapped cache for a processor witlh 32 bit addresses. If you use blocks that are 16 bytes long, how many bits of memory do you need? How does your answer change if you use blocks that are 8 bytes long? (Note: you don't need to include dirty bits, but should include valid bits for each block) 3. Running a particular benchmark, a program finds the data it needs in cache 98% of the time Accessing main memory in the case the data is not in cache takes 12 additional cycles. If the processor runs at 200 MHz and cache access takes one cycle, what is the average memory access time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
