[問題] 計組
block address
0 2 0 2 0 0 2 0 2 0
4-one word blocks
請問一下 direct mapped 的
tag 及 index 是 block address / 4 商數放tag 餘數放index嗎?
另外two-way set associative 的tag與index
fully associative 的 tag 要如何計算? 謝謝!
推文還是看不太懂 不好意思
直接寫題目好了
reference adderss 1 4 8 5 20 ......
assume that 2-way set associative cache is with 4word blocks and total size
is 32 words ...
解答是寫
reference
adderess(dec) (bin) tag index h/m
1 000001 0 0 m
4 000100 0 1 m
8 001000 0 2 m
5 000101 0 1 h
20 010100 1 1 m
我想要知道 他tag及index 是怎麼算出來的 謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.229.111.201
推
03/19 18:42, , 1F
03/19 18:42, 1F
→
03/19 18:43, , 2F
03/19 18:43, 2F
推
03/19 18:45, , 3F
03/19 18:45, 3F
→
03/19 18:48, , 4F
03/19 18:48, 4F
→
03/19 18:48, , 5F
03/19 18:48, 5F
→
03/19 18:49, , 6F
03/19 18:49, 6F
→
03/19 18:49, , 7F
03/19 18:49, 7F
→
03/19 18:50, , 8F
03/19 18:50, 8F
※ 編輯: a12548 來自: 61.229.111.201 (03/19 19:04)
→
03/19 19:00, , 9F
03/19 19:00, 9F
→
03/19 19:08, , 10F
03/19 19:08, 10F
→
03/19 19:08, , 11F
03/19 19:08, 11F
→
03/19 19:09, , 12F
03/19 19:09, 12F
討論串 (同標題文章)