View worked solution
Answer: 13.3:13.3;13.5:13.5
To find the average memory access time, we first determine the number of words in a cache block and the total miss penalty.
1. Calculate the number of words per block:
- Block size = bytes
- Word size =
- Number of words per block = words
2. Calculate the miss penalty (time to fetch a block):
- Time for the word = ns
- Time for the remaining words = ns
- Total miss penalty () = ns
3. Calculate the Average Memory Access Time ():
Depending on how the cache and main memory are accessed, there are two standard interpretations:
- Interpretation 1 (Hierarchical Access):
- Interpretation 2 (Simultaneous/Overlap Access):
Both 13.3 ns and 13.5 ns are accepted correct answers.
Free practice · Your answers on this page are not saved.
