Professional Documents
Culture Documents
EECS 150 - Components and Design Techniques For Digital Systems Lec 16 - Storage: DRAM, SDRAM
EECS 150 - Components and Design Techniques For Digital Systems Lec 16 - Storage: DRAM, SDRAM
n Address
Bits
Memory
cell
m Bit Lines
2n word
lines
what happens
if n and/or m is
very large?
Select = 1
P1
P2
Off On
On
bit = 1
On
On Off
N1
N2
bit = 0
Read:
1. Precharge bit line to Vdd/2
2. Select row
3. Cell and bit line share charges
Minute voltage changes on the bit line
4. Sense (fancy sense amp)
Can detect changes of ~1 million
electrons
5. Write: restore the value
bit
Read is really a
read followed by
a restoring write
Refresh
1. Just do a dummy read to every cell.
r
o
w
d
e
c
o
d
e
r
row
address
RAM Cell
Array
data
Column
Address
Row and Column Address
together select 1 bit a time
Column Decoder
11
R
O
W
A0A10
D
E
C
O
D
E
R
D
Q
11
Memory Array
(2,048 x 2,048)
Storage
Word Line Cell
CAS_L WE_L
256K x 8
DRAM
OE_L
Control Signals (RAS_L, CAS_L, WE_L, OE_L) are all active low
Din and Dout are combined (D):
WE_L is asserted (Low), OE_L is disasserted (High)
D serves as the data input pin
WE_L is disasserted (High), OE_L is asserted (Low)
D is the data output pin
RAS_L
CAS_L WE_L
256K x 8
DRAM
OE_L
D
8
Row Address
Col Address
Junk
Row Address
Col Address
Junk
WE_L
OE_L
D
High Z
Junk
Data Out
Read Access
Time
Early Read Cycle: OE_L asserted before CAS_L
High Z
Data Out
Output Enable
Delay
Late Read Cycle: OE_L asserted after CAS_L
Assert OE_L
Assert Col Address
Assert CAS_L
Meet Col Addr setup time before CAS/hold time after CAS
10
11
Assert OE_L
Valid Data Out after access time
Disassert OE_L, CAS_L, RAS_L to end cycle
12
13
Admin / Announcements
Usual homework story
Read: 10.4.2-3 and SDRAM data sheet
Digital Design in the News
Implanted microMEMS for wireless drug delivery
IEEE Spectrum Chip Shots
http://www.mchips.com/tech_video.html
14
RAS_L
A
9
CAS_L WE_L
OE_L
256K x 8
DRAM
Col Address
Junk
Row Address
Col Address
Junk
Row Address
OE_L
WE_L
D
Junk
Data In
WR Access Time
Junk
Data In
Junk
WR Access Time
Late Wr Cycle: WE_L asserted after CAS_L
15
16
17
A0A10
D
E
C
O
D
E
R
11 Memory Array
(2,048 x 2,048)
Storage
Word Line Cell
Sense Amps
Column Latches
MUX
18
Nibble mode
Pulsing CAS gives next bit mod 4
Video ram
Serial access
19
20
21
SDRAM Details
22
23
24
The primary difference between different memory types is the bit cell.
SRAM Cell
addr
word line
word line
bit line
bit line
DRAM Cell
bitcell
line higher density, lower cost/bit
Smaller
Needs periodic refresh, and refresh after
read
Complex read longer access time
Special IC process difficult to integrate
with logic circuits
Density impacts addressing
25
SDRAM Recap
General Characteristics
Optimized for high density and
therefore low cost/bit
Special fabrication process
DRAM rarely merged with logic
circuits.
Needs periodic refresh (in most
applications)
Relatively slow because:
High capacity leads to large cell
arrays with high word- and bitline capacitance
Complex read/write cycle.
Read needs precharge and
write-back
word line
bit line
26