当前位置:网站首页>A 32KB cache with direct mapping Memory exercises after class
A 32KB cache with direct mapping Memory exercises after class
2022-06-23 09:18:00 【Gaolw1102】
A method of direct mapping 32KB cache , Suppose the block length is 8 individual 32 Bitwise word , And CPU Access cache hit , The address is ABCDEF(H) The number of blocks in the cache ?
Memory of an original question after class , This question mainly focuses on main memory - cache Direct mapping Storage principle of main memory and cache :
The solution is as follows :
Knowledge principle :
Direct mapping principle : The intra block word length of the cache is equal to the intra block word length of the main memory , Are in the lowest position of the address ; Number of cached sub blocks 2^c I.e C The number of bit addresses corresponds to the main memory C Bit address , Pictured :
All associative mapping :
Group associative mapping principle : The intra block word length of the cache is equal to the intra block word length of the main memory , Are in the lowest position of the address ; Number of cached packets R The number of bit addresses also corresponds to the main memory R Bit address . Pictured :
边栏推荐
猜你喜欢

Redis learning notes - client communication protocol resp

学习SCI论文绘制技巧(E)

力扣之滑动窗口《循序渐进》(209.长度最小的子数组、904. 水果成篮)
Redis学习笔记—Redis与Lua

Custom tags - JSP tag enhancements

'coach, I want to play basketball!'—— AI Learning Series booklet for system students
Redis学习笔记—发布订阅

ionic5表单输入框和单选按钮

js 用**遮罩身份证以及手机号的重要数据

Aiming at the overseas pet market, "grasshand" has developed an intelligent tracking product independent of mobile phones | early project
随机推荐
An idea of using keep alive to cache data in vue3 form pages
UEFI 源码学习4.1 - PciHostBridgeDxe
Longest substring without repeated characters (C language)
Redis学习笔记—客户端通讯协议RESP
也无风雨也无晴
线性表(LinkList)的链式表示和实现----线性结构
扫码登录基本流程
披萨订购设计----简单工厂模式
cooding代码库的使用笔记
Cookie和Session入门
Redis learning notes RDB of persistence mechanism
三层架构与SSM之间的对应关系
node request模塊cookie使用
Redis学习笔记—数据类型:哈希(hash)
Zone d'entrée du formulaire ionic5 et boutons radio
Simple student management
一元函数求极限三大方法---洛必达法则,泰勒公式
位绑定
Best time to buy and sell stock
【云原生 | Kubernetes篇】Kubernetes原理与安装(二)


