Class 12
Class 12
Memory Technology
Oct 5, 2000
Topics
• Memory Hierarchy Basics
• Static RAM
• Dynamic RAM
• Magnetic Disks
• Access Time Gap
class12.ppt
Impact of Technology
Moore’s Law
• Observation by Gordon Moore, Intel founder, in 1971
• Transistors / Chip doubles every 18 months
– Has expanded to include processor speed, disk capacity, …
We Owe a Lot to the Technologists
• Computer science has ridden the wave
Things Aren’t Over Yet
• Technology will continue to progress along current growth curves
• For at least 7–10 more years
• Difficult technical challenges in doing so
Even Technologists Can’t Beat Laws of Physics
• Quantum effects create fundamental limits as approach atomic scale
• Opportunities for new devices
Cache
Cache
Memory-I/O
Memory-I/Obus
bus
I/O
I/O I/O
I/O I/O
I/O
controller
controller controller
controller controller
controller
Memory
Memory
C
CPU 8B a 32 B 8 KB
CPU Memory
Memory disk
disk
c
regs
regs h
e
Deep UV X-ray
Wavelength Wavelength
(0.248 µm) (0.6 nm)
Terminology:
(6 transistors) bit line: carries data
word line: used for addressing
Write: Read:
1. set bit lines to new data value 1. set bit lines high
•b’ is set to the opposite of b 2. set word line high
2. raise word line to “high” 3. see which bit line goes low
sets cell to new state (may involve
flipping relative to old state)
0.9
0.8
0.7
0.6
0.5
0.4
V1
V2
0.3
0.2
Vin 0.1
V1 0
0 0.2 0.4 0.6 0.8 1
V2 Vin
Vin Stability
V1 • Require Vin = V2
• Stable at endpoints
V2 – recover from pertubation
• Metastable in middle
– Fall out when perturbed
1
Stable
0.9 Ball on Ramp Analogy
0.8
0.7
0.6 Metastable
0.5
Vin
0.4
V2
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Stable Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
W1
A0
A1 Address
Address memory
A2 decoder
decoder cells
A3 W15
R/W
sense/write
sense/write sense/write
sense/write sense/write
sense/write
amps
amps amps
amps amps
amps
Input/output lines d7 d1 d0
class12.ppt – 12 – CS 213 F’00
Dynamic RAM
(DRAM)
Slower than SRAM
• access time ~60 nsec
Not persistent
• every row must be accessed every ~1 ms (refreshed)
Cheaper than SRAM
• ~$1.50 / MByte
• 1 transistor/bit
Fragile
• electrical noise, light, radiation
Workhorse memory technology
CBL
Writing Reading
Word Line Word Line
row 1 col 2
class12.ppt – 15 – CS 213 F’00
Example 2-Level Decode DRAM
RAS
(64Kx1)
256 Rows
Row
Row Row
8 Row 256x256
address
address \ decoder 256x256
decoder cell
latch
latch cellarray
array
row
256 Columns
A7-A0
column
column R/W’
sense/write
sense/write
amps
amps
col
Provide 16-bit Column
Column column
column
address in two 8
address
address \ latch
latchand
and
8-bit chunks latch
latch decoder
decoder
CAS
Dout Din
class12.ppt – 16 – CS 213 F’00
DRAM Operation
Row Address (~50ns)
• Set Row address on address lines & strobe RAS
• Entire row read & stored in column latches
• Contents of row of memory cells destroyed
Column Address (~10ns)
• Set Column address on address lines & strobe CAS
• Access selected bit
– READ: transfer from selected column latch to Dout
– WRITE: Set selected column latch to Din
Rewrite (~30ns)
• Write back entire row
• SDRAM
Entire row buffered here
– “Synchronous DRAM”
Typical Performance
row access time col access time cycle time page mode cycle time
50ns 10ns 90ns 25ns
class12.ppt – 19 – CS 213 F’00
Video RAM
Performance Enhanced for Video / Graphics
Operations
• Frame buffer to hold graphics image
Writing
• Random access of bits 256x256
256x256
cell
cellarray
array
• Also supports rectangle fill operations
– Set all bits in region to 0 or 1
Reading
column
column
• Load entire row into shift register sense/write
sense/write
• Shift out at video rates amps
amps
Performance Example
• 1200 X 1800 pixels / frame Shift
ShiftRegister
Register
• 24 bits / pixel
• 60 frames / second Video Stream Output
• 2.8 GBits / second
class12.ppt – 20 – CS 213 F’00
DRAM Driving
Capacity Forces
• 4X per generation
– Square array of cells
• Typical scaling
– Lithography dimensions 0.7X
» Areal density 2X
– Cell function packing 1.5X
– Chip area 1.33X
• Scaling challenge
– Typically Cnode / CBL = 0.1–0.2
– Must keep Cnode high as shrink cell size
Retention Time
• Typically 16–256 ms
• Want higher for low-power applications
Storage Plate
Reference Plate
4 Mb Cell Structure
16Mb
Relative
Sizes
64Mb
256Mb
arm
The surface consists
of a set of concentric
magnetized rings
called tracks
The read/write
head floats over
the disk surface
and moves back
Each track is divided and forth on an
into sectors arm from track to
track.
class12.ppt – 28 – CS 213 F’00
Disk
Parameter Capacity 18GB Example
• Number Platters 12
• Surfaces / Platter 2
• Number of tracks 6962
• Number sectors / track 213
• Bytes / sector 512
Total Bytes 18,221,948,928
1.E+03
1.E+02
SRAM
DRAM
1.E+01 Disk
1.E+00
1.E-01
1.E-02
1980 1985 1990 1995 2000
1.E+06
1.E+05
SRAM
1.E+04 DRAM
Disk
1.E+03
1.E+02
1.E+01
1.E+00
1980 1985 1990 1995 2000
Processors
metric 1980 1985 1990 1995 2000 2000:1980
1.E+02
SRAM
DRAM
CPU cycle
1.E+01
1.E+00
1980 1985 1990 1995 2000