[理工] [計組]3C.觀念
assume the three caches below,each consisting of 16 word. give the
series of address references as word address.. 2 3 4 16 18 16 4 2 .
Please ablel each reference as a hit or a miss ...
Assuming that lru is used for cache relacement algorithm and all the
cache are initially empty.
(a) a direct-mapped cache with 16 one-word blocks;
計算後…
T I
2 0 2 MISS compulsory
3 0 3 MISS compulsory
4 0 4 MISS compulsory
16 1 0 MISS compulsory
18 1 2 MISS conflict (*)
16 1 0 HIT
4 0 4 HIT
2 0 2 MISS conflict
問題:
(*) 答案給 compulsory 為什麼?
(我的想法是 I=2出現過了,但T不對。所以是conflict) 請指教,謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.252.185.231
→
12/18 00:03, , 1F
12/18 00:03, 1F
→
12/18 00:05, , 2F
12/18 00:05, 2F
→
12/18 00:06, , 3F
12/18 00:06, 3F
→
12/18 00:06, , 4F
12/18 00:06, 4F