Escolar Documentos
Profissional Documentos
Cultura Documentos
EECS141
EE141 Lecture #6 1
EECS141
EE141 Lecture #6 2
1
EE141
Last lecture
Sizing inverters
Today’s lecture
Complex logic
Optimizing complex logic
Reading (2.3, 3.3.1-3.3.2)
EECS141
EE141 Lecture #6 3
EECS141
EE141 Lecture #6 4
2
EE141
EECS141
EE141 Lecture #6 5
EECS141
EE141 Lecture #6 6
3
EE141
VDD
In1
PMOS only
In2 PUN
…
InN
F(In1,In2,…InN)
In1
In2 … PDN
NMOS only
InN
EECS141
EE141 Lecture #6 7
B
OR
X Y Y = X if A OR B
4
EE141
NOR
X Y Y = X if A AND B = A + B
A
B
NAND X Y Y = X if A OR B = AB
VDD VDD
PUN
S D
VDD
S D
EECS141
EE141 Lecture #6 10
5
EE141
EECS141
EE141 Lecture #6 11
G(In1,In2,In3,…) F(In1,In2,In3,…)
EECS141
EE141 Lecture #6 12
6
EE141
EECS141
EE141 Lecture #6 13
B
A
C
D
OUT = D + A • (B + C)
A
D
B C
EECS141
EE141 Lecture #6 14
7
EE141
Fullrail-to-rail swing
Symmetrical VTC
Propagation delay function of load
capacitance and resistance of transistors
No static power dissipation
Direct path current during switching
EECS141
EE141 Lecture #6 15
EECS141
EE141 Lecture #6 16
8
EE141
EECS141
EE141 Lecture #6 17
CL CL
9
EE141
In Out
C1 C2 CN
1 2 N CL = CN+1
fi = Ci+1/Ci
For given N: Ci+1/Ci = Ci/Ci-1
To find N: Ci+1/Ci ~ 4
How to generalize this to any logic path?
EECS141
EE141 Lecture #6 19
Cdnand = 6CD 2 2
Cgnand = 4CG = (4/3) Cginv
CD/CG= 2
EECS141
EE141 Lecture #6 20
10
EE141
4
Cdnor = 6CD
Cgnor = 5CG = (5/3) Cginv
4
CD/CG=
1 1
EECS141
EE141 Lecture #6 21
EECS141
EE141 Lecture #6 22
11
EE141
Gate delay:
Effective fanout:
EF = LE f
EECS141
EE141 Lecture #6 23
EECS141
EE141 Lecture #6 24
12
EE141
LE = 1 LE = 4/3 LE = 5/3
EECS141
EE141 Lecture #6 25
t pNAND
Normalized delay (d)
LE= t pINV
p=
d=
LE=
p=
d=
p = ·Fan-in
(for top input) 1 2 3 4 5 6 7
Fan-out (f)
EECS141
EE141 Lecture #6 26
13
EE141
t pNAND
Normalized delay (d)
LE=4/3 t pINV
p=2
d=(4/3)f+2
LE=1
p=
d=f+
p = ·Fan-in
(for top input) 1 2 3 4 5 6 7
Fan-out (f)
EECS141
EE141 Lecture #6 27
EECS141
EE141 Lecture #6 28
14
EE141
EECS141
EE141 Lecture #6 29
Branching effort:
CL,on_path
CL,off_path
EECS141
EE141 Lecture #6 30
15
EE141
EECS141
EE141 Lecture #6 31
EECS141
EE141 Lecture #6 32
16
EE141
EECS141
EE141 Lecture #6 33
LE = 1 LE = 5/3 LE = 5/3 LE = 1
f=a f = b/a f = c/b f = 5/c
Electrical fanout, F =
LE =
PE =
EF/stage =
a=
b=
c=
EECS141
EE141 Lecture #6 34
17
EE141
LE = 1 LE = 5/3 LE = 5/3 LE = 1
f=a f = b/a f = c/b f = 5/c
EECS141
EE141 Lecture #6 36
18
EE141
Branching effort:
EECS141
EE141 Lecture #6 37
Branching Example 1
15 LE = 1
FO = 90/5 = 18
90
PE = 18 (wrong!)
5
SE1 = (15+15)/5 = 6
15 90 SE2 = 90/15 = 6
PE = 36, not 18!
Introduce new kind of effort to account for branching:
Con-path + Coff-path
• Branching Effort: b=
Con-path
• Path Branching Effort: B= b i
19
EE141
Branching Example 2
Select gate sizes y and z to minimize delay from A to B
EECS141
EE141 Lecture #6 40
20