15-213 Memory Technology March 14, 2000: Topics
15-213 Memory Technology March 14, 2000: Topics
Topics
Memory Hierarchy Basics Static RAM Dynamic RAM Magnetic Disks Access Time Gap
class17.ppt
Computer System
Processor
Reg
Memory
I/O controller
Display
I/O controller
Network
Disk
class17.ppt
Disk
2
CS 213 S00
8B
C a c h e
32 B
Memory
8 KB
disk
class17.ppt
CS 213 S00
Scaling to 0.1m
Semiconductor Industry Association, 1992 Technology Workshop Projected future technology based on past trends 1992 Feature size: 0.5 1995 0.35 1998 0.25 2001 0.18 2004 0.12 2007 0.10
64M
256M
1G
4G
16G
class17.ppt
CS 213 S00
Persistent
as long as power is supplied no refresh required
Expensive
~$100/MByte 6 transistors/bit
Stable
High immunity to noise and environmental disturbances
class17.ppt
CS 213 S00
Stable Configurations
0 1 1 0
(6 transistors)
Terminology:
Write:
1. set bit lines to new data value b is set to the opposite of b 2. raise word line to high sets cell to new state (may involve flipping relative to old state)
class17.ppt
6
Read:
1. set bit lines high 2. set word line high 3. see which bit line goes low
CS 213 S00
V1 V2
Vin V2
class17.ppt
0.2
V1
Vin
CS 213 S00
Bistable Element
Vin V2
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Stability
V1
Require Vin = V2 Stable at endpoints recover from pertubation Metastable in middle Fall out when perturbed
Stable
Metastable
Vin
V2
Stable
Vin
class17.ppt
CS 213 S00
A0 A1 A2
A3
sense/write amps
sense/write amps
sense/write amps
R/W
Input/output lines d7
class17.ppt
9
d1
d0
CS 213 S00
Nonpersistant
every row must be accessed every ~1 ms (refreshed)
Fragile
electrical noise, light, radiation
class17.ppt
10
CS 213 S00
CBL
Writing
Word Line Bit Line Storage Node
V
Reading
Word Line Bit Line V ~ Cnode / CBL
class17.ppt
11
CS 213 S00
Addressing
Example
0 1
0 000 100
2 010 110
class17.ppt
12
row A7-A0
R/W
8 \
class17.ppt
13
CS 213 S00
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
Rewrite (~30ns)
Write back entire row
class17.ppt
14
CS 213 S00
class17.ppt
15
CS 213 S00
Row + Col RAS CAS RAS CAS ... Row + Series of columns RAS CAS CAS CAS ... Gives successive bits
Row decoder
R/W
Other Acronyms
EDORAM Extended data output CAS SDRAM Entire row buffered here Synchronous DRAM Typical Performance
row access time col access time cycle time 50ns 10ns 90ns
class17.ppt
16
Video RAM
Performance Enhanced for Video / Graphics Operations Writing
Frame buffer to hold graphics image Random access of bits Also supports rectangle fill operations Set all bits in region to 0 or 1
Reading
Performance Example
Load entire row into shift register Shift out at video rates
1200 X 1800 pixels / frame 24 bits / pixel 60 frames / second 2.8 GBits / second
17
Shift Register
class17.ppt
Retention Time
class17.ppt
18
CS 213 S00
Trench Capacitor
4256 Mb Lining of hole in substrate
Stacked Cell
> 1Gb On top of substrate Use high dielectric
C = A/d
class17.ppt
19
CS 213 S00
Trench Capacitor
Process
Etch deep hole in substrate Becomes reference plate Grow oxide on walls Dielectric Fill with polysilicon plug Tied to storage node
class17.ppt
20
CS 213 S00
4 Mb Cell Structure
4Mb
16Mb
64Mb
256Mb
class17.ppt
21
CS 213 S00
Technology
0.14 m process Synchrotron X-ray source 8 nm gate oxide 0.29 m2 cell
Storage Capacitor
Fabricated on top of everything else Rubidium electrodes High dielectric insulator 50X higher than SiO2 25 nm thick Cell capacitance 25 femtofarads
class17.ppt
22
CS 213 S00
class17.ppt
23
CS 213 S00
Magnetic Disks
Disk surface spins at 36007200 RPM
The read/write head floats over the disk surface and moves back and forth on an arm from track to track.
CS 213 S00
Disk Capacity
Parameter
Number Platters Surfaces / Platter Number of tracks Number sectors / track Bytes / sector
18GB Example
12 2 6962 213 512
Total Bytes
18,221,948,928
class17.ppt
25
CS 213 S00
Disk Operation
Operation
Read or write complete sector
Seek
Position head over proper track Typically 6-9ms
Rotational Latency
Wait until desired sector passes under head Worst case: complete rotation 10,025 RPM 6 ms
Disk Performance
Getting First Byte
Seek + Rotational latency = 7,000 19,000 sec
Optimizing Performance:
Large block transfers are more efficient Try to do other things while waiting for first byte switch context to other computing task processor is interrupted when transfer completes
class17.ppt
27
CS 213 S00
Processor
Reg
2. Read Occurs
Cache
Direct Memory Access (DMA) transfer Memory-I/O bus Under control of I/O controller (2) DMA Transfer I/O 3. I/O Controller controller Memory
Signals Completion
Disk
Dis k
class17.ppt
28
CS 213 S00
Analogy:
put the Sears Tower on its side fly it around the world, 2.5cm above the ground each complete orbit of the earth takes 8 seconds
class17.ppt
29
CS 213 S00
Bit Rate
Capacity
Storage Trends
metric 1980 1985 1990 1995 2000
2000:1980
SRAM
19,200 300
1980
2,900 150
1985
320 35
1990
256 15
1995
100 2
2000
190 100
2000:1980
DRAM
100 100 4
1990 8 28 160
30 70 16
1995 0.30 10 1,000
1.5 60 64
2000 0.05 8 9,000
5,300 6 1,000
2000:1980 10,000 11 9,000
Disk
class17.ppt
1.E+03
1.E+02
1.E+01
1.E+00
1.E-01
1.E-02
1980
class17.ppt
1985
1990
32
1995
2000
CS 213 S00
1.E+04 1.E+03
1.E+02 1.E+01
1.E+00
1980
class17.ppt
1985
1990
33
1995
2000
CS 213 S00
2000:1980
600
CS 213 S00
1.E+00
1980
class17.ppt
1985
1990
35
1995
2000
CS 213 S00
class17.ppt
36
CS 213 S00