1
CENG 4480 L10 Memory 3
Reference:
- Chapter 11 Memories
- CMOS VLSI Design—A Circuits and Systems Perspective
- by H.E.Weste and D.M.Harris
CENG 4480 L10 Memory 3 Bei Yu Reference : Chapter 11 Memories - - PowerPoint PPT Presentation
CENG 4480 L10 Memory 3 Bei Yu Reference : Chapter 11 Memories CMOS VLSI DesignA Circuits and Systems Perspective by H.E.Weste and D.M.Harris 1 Memory Arrays Memory Arrays Content Addressable Memory Random Access Memory Serial
1
Reference:
L10 Memory-3
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
2
L10 Memory-3
– Retain their contents when power is removed
– Presence or absence determines 1 or 0
3
L10 Memory-3
– Selected word-line high – Represented with dot diagram
4
Word 0: 010101 Word 1: 011001 Word 2: 100101 Word 3: 101010
ROM Array 2:4 DEC A0 A1 Y0 Y1 Y2 Y3 Y4 Y5 weak pseudo-nMOS pullups
Looks like 6 4-input pseudo-nMOS NORs
L10 Memory-3
5
Word 0: 0100 Word 1: 1001 Word 2: 0101 Word 3: 0000
ROM Array 2:4 DEC A0 A1 Y0 Y1 Y2 Y3 Y4 Y5 weak pseudo-nMOS pullups
L10 Memory-3
– All word-lines high with exception of selected row
6
L10 Memory-3
7
WL[0]=0: WL[1]=0: WL[2]=0: WL[3]=0:
L10 Memory-3
8
ROM Array 2:4 DEC A0 A1 Y0 Y1 Y2 Y3 Y4 Y5 weak pseudo-nMOS pullups
delay grows quadratically with the number of series transistors discharging the bitline.
L10 Memory-3
9
bit5 bit4 bit3 bit2 bit1 bit0 word0 word1 word2 word3
L10 Memory-3
– Only a single track per word!
10
word0 word1 word2 word3 A0 A1 A0 A1 A0 A1 A0 A1
L10 Memory-3
11
L10 Memory-3
– Build array with transistors at every site – Burn out fuses to disable unwanted transistors
– Use floating gate to turn off unwanted transistors – EPROM, EEPROM, Flash
12
n+ p Gate Source Drain bulk Si Thin Gate Oxide (SiO2) n+ Polysilicon Floating Gate
L10 Memory-3
13
[Toshiba’08]
L10 Memory-3
– n inputs, k outputs requires 2n words x k bits – Changing function is easy – reprogram ROM
– n inputs, k outputs, s bits of state – Build with 2n+s x (k+s) bit ROM and (k+s) bit reg
14
n inputs 2n wordlines ROM Array k outputs DEC
L10 Memory-3
(RoboAnt adapted from MIT 6.004 2002 OpenCourseWare by Ward and Terman)
15
L10 Memory-3
16
L10 Memory-3
– Initial state
17
L10 Memory-3
– Until we don’t touch anymore
18
L10 Memory-3
– Looking for wall
19
L10 Memory-3
20
L10 Memory-3
21
L10 Memory-3
22
L10 Memory-3
S1:0 L R S1:0’ TR TL F 00 00 1 00 1 X 01 1 00 1 01 1 01 1 X 01 1 01 1 01 1 01 10 1 10 X 10 1 1 10 X 1 11 1 1 11 1 X 01 1 1 11 10 1 1 11 1 11 1 1
Next state Output values Inputs Current state
23
L10 Memory-3
24
ROM L, R S1:0 TL, TR, F S'1:0
S1' S0' TR'TL' F' 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
4:16 DEC
S1 S0 L R
L10 Memory-3
25
AND Plane OR Plane
abc abc abc abc ab bc ac s a b c
c
Minterms Inputs Outputs
L10 Memory-3
26
AND Plane OR Plane
abc abc abc abc ab bc ac s a b c
c
AND Plane OR Plane
abc abc abc abc ab bc ac s a b c
c
L10 Memory-3
27
AND Plane OR Plane
abc abc abc abc ab bc ac s a b c
c
L10 Memory-3
– No need to have 2n rows for n inputs – Only generate the minterms that are needed – Take advantage of logic simplification
28
L10 Memory-3
29
S1:0 L R S1:0’ TR TL F 00 00 1 00 1 X 01 1 00 1 01 1 01 1 01 1 01 1 01 1 01 10 1 10 X 10 1 1 10 X 1 11 1 1 11 1 X 01 1 1 11 10 1 1 11 1 11 1 1
1 1
TR S S TL S F S S = = = +
L10 Memory-3
30
1 1 1 1 1
1' 0' S S S LS LRS S R LS LS TR S S TL S F S S = + + = + + = = = +
L10 Memory-3
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
31
L10 Memory-3
– Read and write memory as usual – Also match to see which words contain a key
32
L10 Memory-3
– 56 x 43 λ unit cell
33
bit bit_b word match cell cell_b
L10 Memory-3
– Leave wordline low – Precharge matchlines – Place key on bitlines – Matchlines evaluate
– Pseudo-nMOS NOR of match lines – Goes high if no words match
34
row decoder
weak
miss match0 match1 match2 match3 clk column circuitry CAM cell address data read/write