Semiconductor Memory
(1)
OUTLINE
Memory Architecture
Read-Only Memory (ROM)
Static Random-Access Memory (SRAM)
Dynamic Random-Access Memory (DRAM)
(2)
MEMORY ARCHITECTURE
2-Dimensional Memory Architecture
Ak
2L-k
Memory cell
Row
decoder
(Wordline
selection)
L-1
Bit lines
Word lines
Sense amplifier
A0
A k-1
Column decoder
Input/Output
(3)
2L-k
Row
decoder
(Wordline
selection)
Ak
Memory cell
L-1
2L-k
Row
decoder
(Wordline
selection)
L-1
Bit lines
Word lines
0
k-1
Memory cell
L-1
Bit lines
Word lines
Sense amplifier
A
Column decoder
2L-k
Row
decoder
(Wordline
selection)
Bit lines
Word lines
k-1
Ak
Memory cell
L-1
Sense amplifier
A
Column decoder
2L-k
Row
decoder
(Wordline
selection)
Bit lines
Word lines
Sense amplifier
Ak
Memory cell
Sense amplifier
A
Column decoder
k-1
Block decoder
Column decoder
k-1
Block decoder
(4)
ROM
Functionality of ROM cells
Provide 1 or 0 to the bit line when the power is present and a word
line is accessed
ROM Cells
Diode Cells
Bit Line
Word Line
D
(5)
ROM (contd)
BJT Cells
VDD
Bit Line
Word Line
(6)
ROM (contd)
MOS Cells
Bit Line
Word Line
Complete isolation between Word Line and Bit Line by the gate
oxide.
No static power consumption.
Only GND is needed in each memory cell.
Bit lines are pre-charged to VDD. Note that pre-charge pMOS
transistors must be weak configured (small width).
(7)
ROM (contd)
Word [0]
Word [1]
Word [2]
Word [3]
CBit
Bit [0]
CBit
Bit [1]
CBit
Bit [2]
CBit
Bit [3]
Due to the large capacitance of bit lines, all bit lines are pre-charged
to Logic-1 by pseudo-nMOS logic prior to a read operation.
CLK
WORD [n]
BIT [n]
Pre-charge
Data available
(8)
ROM (contd)
Metal-1
Poly
Word [0]
n+ diffusion
Word [1]
Word [2]
Word [3]
Bit [0] Bit [1] Bit [2] Bit [3]
(9)
SRAM
Introduction
A SRAM cell uses a cross-coupled inverter to retain the stored data
indefinitely as long as a sufficient power supply voltage is present.
To eliminate the effect of common-mode noise, particularly those in
VDD and GN D, fully differential configuration is used. There are
TWO bit lines for each bit. Bit signal is the difference between the
voltages of two bit lines. Logic state is represented by the polarity
of the differential voltage.
Because of the large parasitic capacitances of bit lines, the time
needed to charge the bit lines is significant. To avoid this difficulty,
the bit lines are pre-charged using pseudo-nMOS prior to the read
operation of the cell.
Word access transistors are nMOS to minimize chip area and
minimize speed.
Word Line
Bit Line
C Bit
Bit Line
C Bit
(10)
SRAM (contd)
Resistive-Load SRAM cell
Word Line
Bit Line
C Bit
Bit Line
C Bit
(11)
Word Line
Bit Line
C Bit
Bit Line
C Bit
(12)
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
(13)
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
(14)
SRAM (contd)
Design of SRAM Cells
Objectives
Determine W/L of the transistors in SRAM cells.
Constraints
Constraints in Read Operation - a read operation must not destroy
the stored information in the cell.
Constraints in Write Operation - the cell must allow the
modification of the stored information.
(15)
SRAM (contd)
Design of SRAM cells - Read Operation
Assume a 0 is stored in the cell (VA = Logic 0), the read
operation will increase the voltage at node A. The voltage at node
A during the read operation must not exceed the threshold voltage
of the right inverter (M2,6).
Bit lines are pre-charged. VCbit = VCbit = 1. When Word
line=Logic-1, M3 and M4 are ON.
VCBit remains unchanged while VCBit drops slightly node A is
charged. If VA exceeds the threshold voltage of the right inverter,
then VB = 0 the stored data are destroyed VA must not
exceed the threshold voltage of the right inverter. A similar
requirement applies to VB as well.
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
(16)
SRAM (contd)
Because initially VCBit = VDD , VA = 0, Vds,3 is large M3 is in
saturation. Equating the current of M3 and M1 (Note M1 is in the
triode because Vds,1 = VOL is small)
Ids,3 =
kn3
kn3
(Vgs,3 Vtn )2 =
(VDD VA Vtn )2 ,
2
2
(1)
(2)
Ids,1 = kn1
"
1 2
1
(Vgs,1 Vtn )Vds,1 Vds,1
= kn1 (VDD Vtn )VA VA2 . (3)
2
2
(4)
#
"
W
where kn = n Cox
L.
(5)
or in the form
(VDD Vtn )VA 21 VA2
(W/L)3
=
.
(VDD VA Vtn )2
(W/L)1
(6)
(17)
SRAM (contd)
Design of SRAM cells - Read Operation (contd)
To prevent the stored data from being destroyed, VA must not
exceed the threshold voltage of M2 , which is Vtn . In the limiting
case where VA = Vtn , we have
(W/L)3
2(VDD 1.5Vtn)Vtn
.
=
(W/L)1
(VDD 2Vtn)2
(7)
(8)
(18)
SRAM (contd)
Design of SRAM cells - Write Operation
Assume a 1 is stored in the cell (VA =Logic-1) and a 0 is to be
written in the cell.
Initially M1 is OFF. M2 is ON, M5 is ON and M6 is OFF. Bit line
is forced to Logic-0 by the write circuitry. Because VCBit = VDD and
M4 is ON, voltage at node B will increase slightly as CBit will
discharge slightly through M2 and M4. Also, VA will decrease.
To toggle the stored data, VA must be decreased from Logic-1 to the
level below the threshold voltage of M2 so that M2 will turn from
ON to OFF. Because Vd3 = 0, Vs3 = VDD , Vds,3 is large M3 is in
saturation.
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
(19)
SRAM (contd)
M5 is in triode at the start of the write operation because
Vsd,3 = Vtn .
Ids,5
!2
1
W
= p Cox
)5(VDD 0 |Vtp |
2
L
(9)
(10)
Ids,3 =
W
p Cox
( )3
"
1
(VDD Vtn )Vtn Vtn2 .
2
#
(11)
(12)
(13)
(14)
(20)
SRAM (contd)
SRAM - Write Circuitry
Force the voltage of the bit lines to either Logic-1 or Logic-0,
depending upon the data to be written into the cell. The transistor
controlled by the column decoder eliminates the static power
consumption when the bit is not selected.
Word Line
C Bit
C Bit
Bit Line
WB
Bit Line
M1
M2
WB
Data
From Column
decoder
Data
1
0
X
WB
1
0
0
WB
0
1
0
Remarks
M1=OFF, M2=ON, write 1
M1=ON, M2=OFF, write 0
M1=OFF, M2=OFF
(21)
SRAM (contd)
Sense Amplifiers
Introduction
The main function of sense amplifies is to amplify the small
differential voltage generated between the two bit lines during a
read operation. A sense amplifier is a differential input single-ended
output voltage amplifier.
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
CLK
(22)
SRAM (contd)
Cross-Coupled nMOS Sense Amplifier
Cross-coupled nMOS pair form positive feedback to amplify the
differential input voltage. Note that because the voltage of the two
bit lines are nearly the same, the cross-coupled nMOS transistors
are all in saturation, ensuring a rapid transition.
Word Line
M5
Bit Line
M3 A
M1
C Bit
M6
Bit Line
B
M4
M2
C Bit
CLK
(23)
SRAM (contd)
Complete SRAM
Word Line
C Bit
C Bit
Bit Line
Bit Line
CLK
CLK
W
WB
M1
M2
WB
Data
From Column
decoder
(24)
DRAM
Four-Transistor DRAM Cell
Data are stored as the charge of the capacitances Cgs1 and Cgs2.
Due to the leakage of reverse biased pn-junctions, periodic
refreshing is required to retain the data. DRAM requires additional
peripheral circuitry for scheduling and performing the periodic data
refresh operation.
Too many transistors are needed and two bit lines a low degree
of integration
.
Word Line
Bit Line
Bit Line
C Bit
C Bit
(25)
DRAM (contd)
Three-Transistor DRAM Cell
First widely used DRAM cell.
Data are stored in Cgs2. M1 is the write access transistor, M2 is he
storage transistor, and M3 is the read access transistor.
Read Select
M1
M2
M3
C gs2
Write Select
C2
C1
Data In
Data Out
(26)
DRAM (contd)
One-Transistor DRAM Cell
Data are stored in the explicit storage capacitor (30-100 pF). Only
one Read/Write Select line.
Read/Write Select
Explicit storage
capacitor
(30-100pF)
C1
C2
Bit line
Write operation
Assume 1 is to be written to the cell. Bit line is set to Logic-1
(VDD ) by write circuitry. Read/Write Select is asserted by row
address decoder Storage transistor is ON and C1 is charged.
(27)
DRAM (contd)
Read operation
Bit line is pre-charged to an immediate voltage (VDD /2).
Read/Write Select is asserted. Storage transistor is ON the
charge stored in C1 and C2 is shared.
(15)
where Vc1 and Vc2 are the voltages of C1 and C2 before the storage
transistor is ON, and Vc is the common voltage after the transistor
is ON. From which we arrive at
Vc =
C1
C2
Vc1 +
Vc2 .
C1 + C2
C1 + C2
(16)
Because Vc2 = VDD /2, the change of the voltage of the bit line
C1
C2 VDD
Vc1 +
C1 + C2
C1 + C2 2
C1
VDD
=
(Vc1
).
C1 + C2
2
Vbit = Vc Vc2 =
(17)
(28)
DRAM (contd)
Example 1
If Vc1 = 0 (0 is stored in the cell), C1 = C2/10, and VDD = 3.3V
C1 VDD
= 150mV.
C1 + C2 2
(18)
C2 VDD
= 1.65V.
C1 + C2 2
(19)
Vc1 =
Vc =
Example 2
If Vc1 = VDD VT = 3.3 0.5 = 2.8V (1 is stored in the cell).
Vbit =
Vc =
C1 2.8 1.65
115mV.
C1 + C2
=
(20)
C2 VDD
C1
Vc1 +
= 1.93V.
C1 + C2
C1 + C2 2
(21)
(29)
DRAM (contd)
DRAM - Read Circuitry
PC
DS
M1
R1
DS
MB
M128
R128
CD
C128=C
M256
R256
Y
C/2
C/2
C1=C
M129
R129
CD
PC
PC
C129=C
MR
ML
C256=C
CS
Reference cell
Reference cell
(30)
References
J. Rabaey, Digital Integrated Circuits - A Design Perspective,
Prentice-Hall, 1996.
S. Kang and Y. Leblebici, CMOS Digital Integrated Circuits Analysis and Design, 3rd ed., McGraw-Hill, 2003.
K. Martin, Digital Integrated Circuit Design, Oxford University
Press, 2000.
J. Kou and J. Lou, Low-Power CMOS VLSI Circuits, Prentice-Hall,
1999.
(31)