Question: 4. (4pts) Assume that you have a direct-mapped cache with four-word blocks and a total size of 16 words tha is initially empty, and that
4. (4pts) Assume that you have a direct-mapped cache with four-word blocks and a total size of 16 words tha is initially empty, and that you will be given a series of address references in the following order. Label each reference as a hit or a miss and show the content of a). address 21 Hit or Miss? What is the cache content at this point? the cache in each step. Cache Set Address (00) 1(0D210 3 (11) b). address 44 (continuing from the previous step) Hit or Miss? What is the cache content at this point? Cache Set Address 0 (00) 1 (01) 2 (10) 3 (11) c). address 14 (continuing from the previous step) Hit or Miss? What is the cache content at this point? Cache Set Address 0 (00) 1 (01) 2 (10) 3 (11) d). address 46 (continuing from the previous step) Hit or Miss? What is the cache content at this point? 1 (01) 2 (10) 3 (11) Cache Set Address 0 (00) e). address 23 (continuing from the previous step) Hit or Miss? What is the cache content at this point? Cache Set 0 (00) 1 (01) 2 (10) 3 (11) Address f). address 11 (continuing from the previous step) Hit or Miss? What is the cache content at this point? Cache Set 0 (00) 2 (10) 3 (11) Address ). address 8 (continuing from the previous step) Hit or Miss? What is the cache content at this point? 1 (01) 2 (10) 3 (11) Cache Set Address 0 (00) h). address 42 (continuing from the previous step) Hit or Miss? What is the cache content at this point? 1 (01) 2 (10) Cache Set Address 0 (00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
