



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Word line
Pass transistor
Capacitor
Bit line
Level n
Level 2
Level 1
Levels in the memory hierarchy
Increasing distance from the CPU in access time
Size of the memory at each level
Cache
Memory
Address (showing bit positions)
16 12 Byte offset
V Tag Data
Hit Data
entries
16 bits 128 bits
Mux
Index Block offset
Tag
Cache
Bus
Memory
a. One-word-wide memory organization
Bus
b. Wide memory organization
Memory
Multiplexor
Cache
Cache
Bus
Memory bank 1
Memory bank 2
Memory bank 3
Memory bank 0
c. Interleaved memory organization
Tag Data Tag Data Tag Data Tag Data Tag Data Tag Data Tag Data Tag Data
Eight-way set associative (fully associative)
Tag Data Tag Data Tag Data Tag Data
Four-way set associative Set 0 1
Tag Data
One way set associative (direct mapped) Block 0
Tag Data
Two-way set associative Set 0 1 2 3
Tag Data
Index V Tag 0 1 2
253 254 255
Data V Tag Data V Tag Data V Tag Data
4-to-1 multiplexor
Hit Data
Decreasing miss penalty with multilevel caches
Physical addresses
Disk addresses
Virtual addresses Address translation