|
 |
|
|
|
|
24b real address |
|
|
|
|
 |
|
|
|
|
8B physical word |
|
|
|
|
 |
|
|
|
|
16KB cache |
|
|
|
|
 |
|
|
|
|
64B line |
|
|
|
|
 |
|
|
|
|
\ 256 line (16K/64) in cache |
|
|
|
|
|
|
|
|
|
Advantage Cache directory and cache are simultaneously accessed |
|
|
|
|
|
|
|
|
|
Disadvantage Line in memory location maps into only one line in cache. |
|
|
|
|
|
 |
|
|
|
|
1. Translate VPN to RPN with TLB. |
|
|
|
|
 |
|
|
|
|
2. Access cache array and directory simultaneously and compare tag with directory entry to ensure correct line is accessed. |
|
|
|
|
 |
|
|
|
|
3. Access cache array with index and offset (11b) bits. |
|
|
|
|
 |
|
|
|
|
4. If compare valid, enable data to go to processor. |
|
|
|
|