阿摩線上測驗 登入

申論題資訊

試卷:109年 - 108 國立中山大學_碩士班招生考試_電機系(己組):計算機結構#124091
科目:中山◆電機◆電磁學
年份:109年
排序:0

題組內容

5. [30%] Cache memory

申論題內容

(d) [12%] For a cache with 8 blocks, given the following reference addresses.
1, 74, 39, 28, 21, 5, 7, 39, 20, 33, 1, 21
Identify the index and tag for these references of a direct mapped cache, a 4-way set associative cache and a fully associative cache, respectively. Also, explain if each reference is a hit or a miss, assuming the cache is initially empty and the least recently used block replacement policy is assumed.