Professional Documents
Culture Documents
Module 6 Memory
Module 6 Memory
Module 6
Optical Disc
• SRAM
Secondary Memory
• Main memory
• DRAM
• Secondary memory: hard disk, solid-state
Tertiary Memory
drive
• Tertiary memory: tape libraries, cloud
6 © 2021 Arm Limited
Volatile Memory
• Although the system contains many types of memory, we’ll focus on volatile memory.
• SRAM, for caches
• DRAM, for main memory
• These are the types of memory most commonly found in microprocessors.
• And since they are close to the CPU, their interactions most commonly need to be considered by
microarchitects.
select
VDD
M5 M2 M4 M6
M1 M3
3 3
Address decoder
Address bus
. .
Address [7:0]
. ... . Memory cells
. .
select
bit
Row decoder
simultaneously.
Address bus
. .
• A bank with N arrays provides N bits per . .
access.
Address [7:3] . .
Sense amps
Data in [3:0]
Column decoder
Address [2:0]
Device
• Devices may be grouped into ranks.
• All devices in a rank are accessed together. Bank Bank
• This provides bandwidth. Rank Rank
Bank Bank
Device
Rank Rank
Frame 6
Frame 7
Physical address
Yes
No
Virtual address space Page-table walk Physical address space
Update TLB
Physical address
MMU
cache. TLB
Miss
• On a miss, the MMU will walk the page tables to
Walk page tables
find the translation.
Path taken
by data
IO IO
CPU
device device
Data bus
CPU Memory
Control bus
Bus grant
DMA I/O
Controller Device
Bus request
Main TLB
cp15
Data
Cortex-A9 Instruction Cache
Cache
Core