「All right reserved, any unauthorized reproduction or transfer is prohibitted」
L15 内存架构及全相连 Cache.
内存架构:



全相连 Cache:


cache 性能属性:

回写策略:

Write miss


L16 Directed-Mapped Cache && Set-Mapped Cache
Directed-Mapped Cache

Set-Mapped Cache


L17 Cache 设计
2-way set 的实现示意图:

计算例子有助于加深理解:

AMAT:

降低 MISS 的办法:


解决办法,但是也会引入新的问题:

L2,L3 cache 设计方式

cache 设计的示例:

TesterHome 为用户提供「保留所有权利,禁止转载」的选项。
除非获得原作者的单独授权,任何第三方不得转载标注了「All right reserved, any unauthorized reproduction or transfer is prohibitted」的内容,否则均视为侵权。
具体请参见TesterHome 知识产权保护协议。