作者zelkova (祥)
看板Grad-ProbAsk
標題[理工] [計組]-Bank conflict
時間Wed Feb 2 00:59:58 2011
請問這題該如何解答呢@@ 感謝...
題目:Assume a memory system that supports interleaving either four
reads or four writes. Given the following memory addresses in
order as they appear on the memory bus:3,9,17,2,51,37,13,4,8,
41,67,10, which ones will result in a bank conflict?
張凡解答:
┌──────┬───┬───────┐
│ Reference │ Bank │ Bank Conflict│
├──────┼───┼───────┤
│ 3 │ 3 │ No │
├──────┼───┼───────┤
│ 9 │ 1 │ No │
├──────┼───┼───────┤
│ 17 │ 1 │ Yes │
├──────┼───┼───────┤
│ 2 │ 2 │ No │
├──────┼───┼───────┤
│ 51 │ 3 │ No │
├──────┼───┼───────┤
│ 37 │ 1 │ Yes │
├──────┼───┼───────┤
│ 13 │ 1 │ Yes │
├──────┼───┼───────┤
│ 4 │ 0 │ No │
├──────┼───┼───────┤
│ 8 │ 0 │ Yes │
├──────┼───┼───────┤
│ 41 │ 1 │ No │
├──────┼───┼───────┤
│ 67 │ 3 │ No │
├──────┼───┼───────┤
│ 10 │ 2 │ No │
└──────┴───┴───────┘
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.91.184
推 cutesteven:一次看4個 如果conflict就重新算4個送就可以了~ 02/02 01:26
→ zelkova:剛蝦這位戴眼鏡的同學! 02/02 11:51