題組內容
7. Assuming a direct-mapped cache with four-word blocks and a total size of 16 words
that is initially empty, label each reference in the list as a hit or a miss and show the final contents of
the cache. Please copy Table 6-1 and Table 6-2 to your answer sheet and fill in your answers.
Instruction
fetch
Reeister
read
Register
write time
2 ns l ns 2 ns l ns 6 ns
Clock cycle time Actual CPI
申論題內容
7. Suppose we have a processor with a base CPI of 1.0, assuming all references hit in the
primary cache, and a clock rate of 1 GHz. Assume a main memory access time of 100 ns, including all
the miss handling.