Lec14 PDF
Lec14 PDF
Chih-Wei Liu VLSI Signal Processing LAB National Chiao Tung University [email protected]
DIC-Lec14 [email protected]
Outline
DIC-Lec14 [email protected]
CAMs
Extension of ordinary memory (e.g. SRAM) Read and write memory as usual Also match to see which words contain a key
adr data/key
DIC-Lec14 [email protected]
cell
cell_b
match
DIC-Lec14 [email protected]
Leave wordline low Precharge matchlines Place key on bitlines Matchlines evaluate
read/write
Miss line
Read-Only Memories
DIC-Lec14 [email protected]
ROM Example
2:4 DEC
ROM Array
Y5
Y4
Y3
Y2
Y1
Y0
Unit Cell
DIC-Lec14 [email protected]
Row Decoders
DIC-Lec14 [email protected]
DIC-Lec14 [email protected]
10
Programmable ROMs
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
Source Gate Drain Polysilicon Floating Gate Thin Gate Oxide (SiO2) n+ p n+ bulk Si
DIC-Lec14 [email protected]
11
n inputs, k outputs requires __ words x __ bits Changing function is easy reprogram ROM n inputs, k outputs, s bits of state Build with ________ bit ROM and ____ bit reg
inputs n 2n wordlines ROM Array
outputs k s
DEC
DIC-Lec14 [email protected]
12
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
inputs n 2n wordlines ROM Array
outputs k s
DEC
DIC-Lec14 [email protected]
13
Example: RoboAnt
Lets build an Ant Sensors: Antennae (L,R) 1 when in contact Actuators: Legs Forward step F Ten degree turns TL, TR Goal:
Strategy: keep right antenna on wall (RoboAnt adapted from MIT 6.004 2002 OpenCourseWare by Ward and Terman)
DIC-Lec14 [email protected] 14
Lost in space
DIC-Lec14 [email protected]
15
Bonk!!!
DIC-Lec14 [email protected]
16
Action: step forward and turn right a little Looking for wall
DIC-Lec14 [email protected]
17
DIC-Lec14 [email protected]
18
Whoops a corner!
DIC-Lec14 [email protected]
19
Simplification
DIC-Lec14 [email protected]
20
Lost
DIC-Lec14 [email protected]
21
ROM Implementation
L, R
TL, TR, F
4:16 DEC
DIC-Lec14 [email protected]
22
ROM Implementation
L, R
TL, TR, F
4:16 DEC
DIC-Lec14 [email protected]
23
PLAs
A Programmable Logic Array performs any function in sum-of-products form. Literals: inputs & complements Products / Minterms: AND of literals Outputs: OR of Minterms bc
AND Plane OR Plane
Minterms
s
Outputs
cout
DIC-Lec14 [email protected]
24
NOR-NOR PLAs
ANDs and ORs are not very efficient in CMOS Dynamic or Pseudo-nMOS NORs are very efficient Use DeMorgans Law to convert to all NORs
AND Plane OR Plane AND Plane OR Plane
bc
bc
c s cout
c s cout
DIC-Lec14 [email protected]
25
abc
c
s
cout
DIC-Lec14 [email protected]
26
The OR plane of the PLA is like the ROM array The AND plane of the PLA is like the ROM decoder PLAs are more flexible than ROMs
No need to have 2n rows for n inputs Only generate the minterms that are needed Take advantage of logic simplification
DIC-Lec14 [email protected]
27
TR = S1 S0 TL = S0 F = S1 + S0
28
DIC-Lec14 [email protected]
S1
S0
R S1 ' S0 ' TR TL F
DIC-Lec14 [email protected]
29