作者bin272max (Ellison)
看板Grad-ProbAsk
標題[理工]計組2-way set的address range
時間Sun Jan 20 17:52:32 2013
假設2-way set-associative cache contains 1024 blocks
and each block has 8 bytes.
the data with the address 0x8F8A is accessed,
what range of data address can be accessed in this cache?
ie. hits(because of the locality associated with 0x8F8A)
解答給: 0x8F88 ~ 0x8F8F
但不知道怎麼算的...
感謝撥冗解答 :)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.134.18.156
→ BaaaSwin:addr8F8A對應到的block在cache中! 01/20 18:00
→ BaaaSwin:08F-1(000)~08F-1(111),08F-1是blockaddr 01/20 18:02
→ BaaaSwin:()是blockoffset 01/20 18:02
→ bin272max:感謝BaaaSwin大! 講解非常清楚!!!! 懂了懂了!! 01/20 18:11