Evoltion&Future - Memory Technology
Evoltion&Future - Memory Technology
Memory technology 1
Early Read-Only Memory Technologies
Williams Tube,
Manchester Mark 1, 1947
Memory technology 3
MIT Whirlwind Core Memory
Memory technology 4
Core Memory
Core memory was first large scale reliable main memory
invented by Forrester in late 40s/early 50s at MIT for Whirlwind project
Bits stored as magnetization polarity on small ferrite cores threaded onto two-
dimensional grid of wires
Coincident current pulses on X and Y wires would write cell and also sense
original state (destructive reads)
Memory technology 5
Semiconductor Memory
Semiconductor memory began to be
competitive in early 1970s
Intel formed to exploit market for semiconductor memory
Early semiconductor memory was Static RAM (SRAM). SRAM
cell internals similar to a latch (cross-coupled inverters).
Memory technology 6
Memory Hierarchy Technology
° Random Access:
• “Random” is good: access time is the same for all locations
• DRAM: Dynamic Random Access Memory
- High density, low power, cheap, slow
- Dynamic: need to be “refreshed” regularly
• SRAM: Static Random Access Memory
- Low density, high power, expensive, fast
- Static: content will last “forever”(until lose power)
° “Non-so-random” Access Technology:
• Access time varies from location to location and from time to time
• Examples: Disk, CDROM, DRAM page-mode access
° Sequential Access Technology: access time linear in
location (e.g.,Tape)
° Today’s lecture will concentrate on random access
technology
• The Main Memory: DRAMs + Caches: SRAMs
Memory technology 7
Main Memory Background
° Performance of Main Memory:
• Latency: Cache Miss Penalty
- Access Time: time between request and word arrives
- Cycle Time: time between requests
• Bandwidth: I/O & Large Block Miss Penalty (L2)
Memory technology 8
Random Access Memory (RAM) Technology
° Why do computer designers need to know about RAM
technology?
• Processor performance is usually limited by memory bandwidth
• As IC densities increase, lots of memory will fit on processor chip
- Tailor on-chip memory to specific needs
- Instruction cache
- Data cache
- Write buffer
Memory technology 9
Static RAM Cell
6-Transistor SRAM Cell
word
0 1 (row select)
0 1
bit bit
° Write:
1. Drive bit lines (bit=1, bit=0)
2.. Select row
° Read:
1. Precharge bit and bit to Vdd or Vdd/2 => make sure equal!
2.. Select row
3. Cell pulls one line low
4. Sense amp on column detects difference between bit and bit
Memory technology 10
Typical SRAM Organization: 16-word x 4-bit
Din 3 Din 2 Din 1 Din 0
WrEn
Precharge
Address Decoder
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell A1
Word 1 A2
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell A3
: : : :
Word 15
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell
- Sense Amp + - Sense Amp + - Sense Amp + - Sense Amp + Q: Which is longer:
word line or
bit line?
Dout 3 Dout 2 Dout 1 Dout 0
Memory technology 11
Logic Diagram of a Typical SRAM
A
N 2 N words
WE_L x M bit
SRAM
OE_L D
M
Memory technology 12
1-Transistor Memory Cell (DRAM)
row select
° Write:
• 1. Drive bit line
• 2.. Select row
° Read:
• 1. Precharge bit line to Vdd/2
• 2.. Select row bit
• 3. Cell and bit line share charges
- Very small voltage changes on the bit line
• 4. Sense (fancy sense amp)
- Can detect changes of ~1 million electrons
• 5. Write: restore the value
° Refresh
• 1. Just do a dummy read to every cell.
Memory technology 13
DRAM Chip Organization
Bi tl ine s
Wo rd
Li ne s
Row Decoder
Me mo ry
Ro w Tra n sisto r
Ce ll B itlin e
Ad d ress
Ar ra y
Wo rd lin e
Ca pa citor
Se n se A mps
Ro w Bu ffe r
Co lum n
Co lum n De cod er
Ad d ress
Data bu s
Memory technology 14
DRAM Chip Organization
Bi tl ine s
Wo rd
Li ne s
Row Decoder
Me mo ry
Ro w Ce ll Tra n sisto r
Ad d ress B itlin e
Ar ra y
Wo rd lin e
Ca pa citor
Se n se A mps
Ro w Bu ffe r
Co lum n
Ad d ress Co lum n De cod er
Data bu s
DRAM in 2014 Address pins are time-
multiplexed
8Gbit @25nm
– Row address strobe (RAS)
266 MHz synchronous interface
– Column address strobe (CAS)
Data clock 4x (1066MHz), double-
data rate so 2133 MT/s
Memory technology 15
DRAM Chip Organization
Bi tl ine s
Wo rd
Li ne s
Row Decoder
Me mo ry
Ro w Ce ll Tra n sisto r
Ad d ress B itlin e
Ar ra y
Wo rd lin e
Ca pa citor
Se n se A mps
Ro w Bu ffe r
Co lum n
Ad d ress Co lum n De cod er
Data bu s
Memory technology 17
DRAM Packaging
(Laptops/Desktops/Servers)
~7
Clock and control signals
DRAM
Address lines multiplexed
row/column address
chip
~12
Data bus
(4b,8b,16b,32b)
Memory technology 18
DRAM Packaging, Mobile Devices
[ Apple A4 package on circuit board]
Two stacked
DRAM die
Processor
plus logic die
Memory technology 21
DDR SDRAM Control
Commands
Bank N-1
• Activate row
Bank 1
Read row into row buffer
Row Decoder
• Column access Address Memory Array
Read data from addressed row Bank 0
• Bank Precharge
Get ready for new row access Sense Amplifiers
Row Buffer
Column Decoder
Bank Precharge
Data
Column
Idle Active Access
Row Activation
Memory technology 22
DRAM Operation
Three steps in read/write access to a given bank
Row access (RAS)
decode row address, enable addressed row (often multiple Kb in row)
bitlines share charge with storage cell
small change in voltage detected by sense amplifiers which latch whole
row of bits
sense amplifiers drive bitlines full rail to recharge storage cells
Column access (CAS)
decode column address to select small number of sense amplifier
latches (4, 8, 16, or 32 bits depending on DRAM package)
on read, send latched bits out to chip pins
on write, change sense amplifier latches which then charge storage
cells to required value
can perform multiple column accesses on same row without another
row access (burst mode)
Precharge
charges bit lines to known value, required before next row access
Data
Memory technology 25
DDR SDRAM Memory System Example
CMP0 CMP1
channel channel
Memory 0 controller controller Memory 1
Memory technology 27
SDRAM Memory Controller
Interface between a
cache hierarchy and
main memory)
Translates read and
write requests into
sequences of SDRAM
commands
Memory scheduler
keeps track of the
state of memory
banks,
reorders and
interleaves memory
requests to optimize
memory latency and
bandwidth utilization
Memory technology 28
3D DRAM Stacking Technologies
Memory technology 29
Hybrid Memory Cube (HMC)
Memory technology 31
Network of DRAM
Memory technology 34
3D DRAM Stacking in GPUs
Memory technology 35
Xeon Phi MCDRAM
Memory technology 36
Summary
° SRAM is fast but expensive and not very dense:
• Good choice for providing the user FAST access time.
Memory technology 37