SoC Notes


    1. Cache Write Policy

     

    When a system writes data to cache, it must at some point write that data to the backing store as well. The timing of this write is controlled by what is known as the write policy.

     

    There are two basic writing approaches:

    • Write-through: write is done synchronously both to the cache and to the backing store.
    • Write-back (also called write-behind): initially, writing is done only to the cache. The write to the backing store is postponed until the cache blocks containing the data are about to be modified/replaced by new content.

     

    1. TLB

    memory management unit (MMU) that fetches page table entries from main memory has a specialized cache, used for recording the results of virtual address to physical address translations. This specialized cache is called a translation lookaside buffer (TLB).

     

    1. 2-way set associative cache

    Machine generated alternative text:
Direct Mapped 
Cache Fill 
Cache 
Memo 
Index 0 
Index 1 
Index 2 
Index 3 
2-Way Associative 
Cache Fill 
Cache 
M em ory 
Index 0, Wa 
Index 0, Wa 
Index 1, Wa 
Index 1, Wa 
Main 
Memo 
Index 
Main 
Memory 
Index 
0 
1 
0 
1 
Each in can be 
cached by just one cache bcaton. 
Each can be 
cached by one of cache bcatöns,

     

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值