1
Reference:
- Chapter 11 Memories
- CMOS VLSI Design—A Circuits and Systems Perspective
- by H.E.Weste and D.M.Harris
CENG 4480 L09 Memory 2 Bei Yu Reference : Chapter 11 Memories - - PowerPoint PPT Presentation
CENG 4480 L09 Memory 2 Bei Yu Reference : Chapter 11 Memories CMOS VLSI DesignA Circuits and Systems Perspective by H.E.Weste and D.M.Harris 1 CENG4480 v.s. CENG3420 CENG3420: architecture perspective memory coherent
1
Reference:
CENG4480
✦ architecture perspective ✦ memory coherent ✦ data address
2
CENG4480
Memory Arrays
Random Access Memory Serial Access Memory Content Addressable Memory (CAM) Read/Write Memory (RAM) (Volatile) Read Only Memory (ROM) (Nonvolatile) Static RAM (SRAM) Dynamic RAM (DRAM) Shift Registers Queues First In First Out (FIFO) Last In First Out (LIFO) Serial In Parallel Out (SIPO) Parallel In Serial Out (PISO) Mask ROM Programmable ROM (PROM) Erasable Programmable ROM (EPROM) Electrically Erasable Programmable ROM (EEPROM) Flash ROM
3
CENG4480
4
CENG4480
5
A B A nand B 1 1 1 1 1 1 1
CENG4480
✦ Holds one bit of information, like a latch ✦ Must be read and written
✦ Use a simple latch connected to bitline ✦ 46 x 75 λ unit cell 6
bit write write_b read read_b
CENG4480
7
✦ Gate = 1, transistor is ON ✦ Then electric current path
✦ Gate = 0, transistor is ON ✦ Then electric current path
✦ Q = NOT (A)
CENG4480
✦ (+) reduce area ✦ (-) much more complex control 8
bit bit_b word
CENG4480
– A must not flip – N1 >> N2 9
bit bit_b N1 N2 P1 A P2 N3 N4 A_b word
0.0 0.5 1.0 1.5 100 200 300 400 500 600 time (ps)
word bit A A_b bit_b
CENG4480
– 10
bit bit_b N1 N2 P1 A P2 N3 N4 A_b word
CENG4480
– Must overpower
feedback inverter
– N4 >> P2 – N2 >> P1 (symmetry) 11
time (ps)
word A A_b bit_b
0.0 0.5 1.0 1.5 100 200 300 400 500 600 700
bit bit_b N1 N2 P1 A P2 N3 N4 A_b word
CENG4480
– 12
bit bit_b N1 N2 P1 A P2 N3 N4 A_b word
CENG4480
13
bit bit_b med A weak strong med A_b word
CENG4480
Memory Arrays
Random Access Memory Serial Access Memory Content Addressable Memory (CAM) Read/Write Memory (RAM) (Volatile) Read Only Memory (ROM) (Nonvolatile) Static RAM (SRAM) Dynamic RAM (DRAM) Shift Registers Queues First In First Out (FIFO) Last In First Out (LIFO) Serial In Parallel Out (SIPO) Parallel In Serial Out (PISO) Mask ROM Programmable ROM (PROM) Erasable Programmable ROM (EPROM) Electrically Erasable Programmable ROM (EEPROM) Flash ROM
14
CENG4480
✦ Store charge ✦ Charge or discharge 15
CENG4480
16
Remove the two p-MOS transistors from static RAM cell, to get a four-transistor dynamic RAM cell.
CENG4480
17
VDD-VT
CENG4480
18
[1970: Intel 1003]
CENG4480
19
(a) (c) (f) (g) Select B T C DRAM cell To Pump (b) (d) (e)
CENG4480
✦ Pre-charge large tank to VDD/2 ✦ If Ts = 0, for large tank : VDD/2 - V1 ✦ If Ts = 1, for large tank: VDD/2 + V1 ✦ V1 is very insignificant ✦ Need sense amp 20
(a) (c) (f) (g) Select B T C DRAM cell To Pump (b) (d) (e)
Stored 1 Stored 0 Write 1 Write 0 Read 1 Read 0
CENG4480
21
Trench-capacitor cell [Mano87]
CENG4480
22
2
CS CS+CBL
CENG4480
23
CENG4480
24
locations m bits
CENG4480
25
n
D D D
D D D
D D D
m
Memory$Data$Out
m
Memory$Data$In Read$Address$Decoder Memory$Read$Address
n
Write$Address$Decoder Memory$WriteAddress
Gated D8latch
D Q WE
Read$bitlines Write$bitlines Write$word$line Read$word$line
WE
CENG4480
26
row decoder column decoder n n-k k 2m bits column circuitry bitline conditioning memory cells: 2n-k rows x 2m+k columns bitlines wordlines
CENG4480
– One needed for each row of memory – Build AND with NAND or NOR gates
27
word0 word1 word2 word3 A0 A1
word0 word1 word2 word3
CENG4480
28
word0 word1 word2 word3 A0 A1
CENG4480
– Break large gates into multiple smaller gates
29
word0 word1 word2 word3 word15 A0 A1 A2 A3
CENG4480
– Factor out common gates – => Predecoder – Saves area – Same path effort
30
A0 A1 A2 A3 word1 word2 word3 word15 word0 1 of 4 hot predecoded lines predecoders
CENG4480
– Requires very skinny gates
31
GND VDD word buffer inverter NAND gate A0 A0 A1 A2 A3 A2 A3 A1
CENG4480
– Bitline conditioning – Column multiplexing – *Sense amplifiers (DRAM) 32
row decoder column decoder n n-k k 2m bits column circuitry bitline conditioning memory cells: 2n-k rows x 2m+k columns bitlines wordlines
CENG4480
33
φ bit bit_b
φ bit bit_b
CENG4480
– Coupling noise is severe in modern processes – Try to couple equally onto bit and bit_b – Done by twisting bitlines 34
b0 b0_b b1 b1_b b2 b2_b b3 b3_b
CENG4480
35
H H SRAM Cell word_q1 bit_v1f bit_b_v1f
φ1 φ2 word_q1 bit_v1f
φ2 More Cells Bitline Conditioning
φ2 More Cells SRAM Cell word_q1 bit_v1f bit_b_v1f data_s1 write_q1 Bitline Conditioning
CENG4480
– Must select 16 output bits from the 128
– Requires 16 8:1 column multiplexers
36
CENG4480
37
More Cells word_q1 write0_q1 φ2 More Cells A0 A0 φ2 data_v1 write1_q1
CENG4480
– Use nMOS only, precharge outputs
– No external decoder logic needed 38
B0 B1 B2 B3 B4 B5 B6 B7 B0 B1 B2 B3 B4 B5 B6 B7 A0 A0 A1 A1 A2 A2 Y Y to sense amps and write circuits
CENG4480
39
CENG4480
40
CENG4480
– Ex: 32-kbit SRAM has 256 rows x 128 cols – 256 cells on each bitline
– Even with shared diffusion contacts, 64C of diffusion
– Discharged slowly through small transistors (small I)
41
CENG4480
42
CENG4480
43
bit_b bit sense sense_b sense_clk isolation transistors regenerative feedback
CENG4480
44