5 Combinational Circuit Design
5 Combinational Circuit Design
CHAPTER 5
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
• Bubble Pushing
• Compound Gates
• Logical Effort Example
• Input Ordering
• Asymmetric Gates
• Skewed Gates
• Best P/N ratio
assign y = s ? d1 : d0;
endmodule
D0
S
Y
D1
S
D0
S
Y
D1
S
A B A B A B A B
• Y = AB + CD
A A
B B
Y Y
C C
(a) D (b) D
A A
B B
Y Y
C C
D
(c) D (d)
D0
S
Y
D1
S
YA Y A B C Y A B C D Y AB C D E
D
A A E
Y
B B A
A Y Y Y
C C B
D C
A 4 B 4 A 4 B 4 B 6
2 C 4 C 4 D 4 C 6 A 3
A Y Y Y
1 A 2 A 2 C 2 D 6 E 6
C 1 Y
B 2 B 2 D 2 E 2 A 2
D 2 B 2 C 2
H = 160 / 16 = 10
B=1
N=2
VLSI Design Chih-Cheng Hsieh
NAND Solution 5- 11
P 22 4 D0
G (4 / 3) (4 / 3) 16 / 9 S
Y
F GBH 160 / 9
D1
S
P 4 1 5
AOI22 + INV
G (6 / 3) (1) 2
F GBH 20 D0
S
Y
D1
fˆ N F 4.5 S
D Nfˆ P 14
8 10 10
8 25 25 10 10 24
Y Y
25 6 6 12
8 8 25 6 6
8
8
16 160 * (4/3) / 4.2 = 50 16 160 * 1 / 4.5 = 36
2 2 Y
A 2 6C
B 2x 2C
2 2 Y
A 2
B 2
A M3 B M4
F= A • B
D weaker
A M2 PUN
VGS2 = VA –VDS1 S
D
Cint
B M1
VGS1 = VB S
2 2
Y
A 1 1
B 1 1
2 2 1
A Y A Y A Y
1/2 1 1/2
2 2 B 4
Y
2 A 4
A 2
unskewed A Y Y
1 gu = 1 B 2 gu = 4/3 1 1 gu = 5/3
gd = 1 gd = 4/3 gd = 5/3
gavg = 1 gavg = 4/3 gavg = 5/3
2 2 B 4
Y
2 A 4
A 1
HI-skew A Y Y
1/2 gu = 5/6 B 1 gu = 1 1/2 1/2 gu = 3/2
gd = 5/3 gd = 2 gd = 3
gavg = 5/4 gavg = 3/2 gavg = 9/4
1 1 B 2
Y
1 A 2
A 2
LO-skew A Y Y
1 gu = 4/3 B 2 gu = 2 1 1 gu = 2
gd = 2/3 gd = 1 gd = 1
gavg = 1 gavg = 3/2 gavg = 3/2
A
Y
reset
1 2
Y
A 4/3 10/9 100/99 ~1
reset 4 10 100 ∞
fastest
P/N ratio
A
1.414
1
Y
gu = 1.15
A
B
2 2
2
2
Y ?
gu = 4/3
B
A
1
2
2
1
Y
?
gu = 2
gd = 0.81 gd = 4/3 gd = 1
gavg = 0.98 gavg = 4/3 gavg = 3/2
• For speed:
– NAND vs. NOR
– Many simple stages vs. fewer high fan-in stages
– Latest-arriving input
• For area and power:
– Many simple stages vs. fewer high fan-in stages
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
P/2 1.5
Ids 1.2
P = 24
Vout Vout 0.9
16/2
0.6
Vin P = 14
0.3
P=4
0
0 0.3 0.6 0.9 1.2 1.5 1.8
Vin
• P = 1 + (4+8k)/9 = (8k+13)/9
• N =2
4 2 H 8k 13
• 1/N
D = NF + P =
3 9
en
Y
A B C
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
1 0 ON OFF OFF ON 01
OFF ON ON OFF
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
2 2/3 1
A Y Y Y
1 A 4/3 A 1
precharge transistor
Y Y
Y
inputs inputs
A
f f
foot
footed unfooted
1
Y
1 1
A 2
unfooted Y Y
A 1 B 2 A 1 B 1
gd = 1/3 gd = 2/3 gd = 1/3
pd = 2/3 pd = 3/3 pd = 3/3
1
Y
1 1
A 3
Y Y
footed A 2 B 3 A 2 B 2
gd = 2/3 gd = 3/3 gd = 2/3
2 pd = 3/3 3 pd = 4/3 2 pd = 5/3
CLK
Out Evaluate
In1
In2
In3
In &
In4 CLK
Out Precharge
CLK
Time, ns
CLK
Vout (VG=0.45)
Vout (VG=0.55)
Vout (VG=0.5)
VG
CLK Mp
Out
In1 CL
In2 PDN
In3
CLK Me
CLK
4
3
CLK Mp
Out
1
A=0 CL
2
VOut Evaluate
CLK Me
Precharge
Leakage sources
CLK
Out
CLK Mp Mkp
!Out
A
CL
B
CLK Me
CLK Mp
Out
A CL
B=0 Ca
CLK Me Cb
• When DVout = - VDD (Ca / (Ca + CL )) the drop in Vout is large enough
to be below the switching threshold of the gate it drives causing a
malfunction.
VLSI Design Chih-Cheng Hsieh
Charge Sharing 5- 52
Y
A x CY A
B=0 Cx Y
Charge sharing noise
CY
Vx VY VDD
Cx CY
What is the worst case voltage drop on y? (Assume all inputs are
low during precharge and that all internal nodes are initially at 0V.)
Load
CLK inverter
y=ABC
A !A Cy=50fF
a
B b
Ca=15fF !B B !B
c d Cb=15fF
Cc=15fF !C C Cd=10fF
CLK
What is the worst case voltage drop on y? (Assume all inputs are
low during precharge and that all internal nodes are initially at 0V.)
Load
CLK inverter
y=ABC
A !A Cy=50fF
a
B b
Ca=15fF !B B !B
c d Cb=15fF
Cc=15fF !C C Cd=10fF
CLK
CLK Me
secondary
precharge
Y transistor
A x
B
CLK Mp M6 M5
Out1 =1
Out2 =10
A=0 M1 M4
CL1 CL2
B=0 M2 M3 In
CLK Me
2
Out1
1
CLK
0
In Out2
-1
0 2 Time, ns 4 6
Clock feedthrough
CLK
Out
In1
In2
In3 In &
CLK Out
In4
CLK
Time, ns
Clock feedthrough
CLK
CLK Mp CLK Mp
Out2
Out1 In
In
VTn
Out1
CLK Me CLK Me
DV
Out2
t
Only a single 0 1 transition allowed at the
inputs during the evaluation period!
VLSI Design Chih-Cheng Hsieh
Monotonicity 5- 62
A=1
A=1
W
W X Y Z
A X
B C
Y
Z
dynamic static
NAND inverter
A W X A X
H Y =
B H Z B Z
C C
S0 S1 S2 S3
D0 D1 D2 D3
Y
H
S4 S5 S6 S7
D4 D5 D6 D7
0 1 ‘0’ inputs
f f
1 0 ‘1’
1 1 invalid
Y_l Y_h
= A*B A_h = A*B
A_l B_l B_h
Y_l Y_h
= A xnor B A_h A_l A_l A_h = A xor B
B_l B_h
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
A A
S Y S Y
B B
S S
VLSI Design Chih-Cheng Hsieh
NMOS Transistors in Series/Parallel 5- 74
B X = Y if A or B
X Y
B X = Y if A or B = A B
X Y
B
B
A A
F= A B B
B
0 F= A B
0
B
1.5/0.25
0.5/0.25
B=VDD, A=0VDD
Vout, V
A
0.5/0.25
B A=VDD, B=0VDD
F= AB
A=B=0VDD
0
0.5/0.25
Vx = VDD-VTn
Time, ns
Mr
M2
node x never goes below VM x
of inverter so output never Mn
switches M1
Voltage, V
W/Lr=1.75/0.25
W/Ln=0.50/0.25
W/Lr=1.50/0.25 W/L2=1.50/0.25
W/L1=0.50/0.25
W/Lr=1.25/0.25
W/Lr=1.0/0.25
Time, ps
• Technology solution: Use (near) zero VT devices for the NMOS PTs to eliminate
most of the threshold drop (body effect still in force preventing full swing to VDD)
low VT transistors
In2 = 0V A = 2.5V
on
Out
off but
leaking
In1 = 2.5V B = 0V
sneak path
A B A B
C C
C = GND C = GND
A = VDD B A = GND B
C = VDD C = VDD
VLSI Design Chih-Cheng Hsieh
Solution 4: CPL 5- 85
1. Static CMOS
2. Ratioed Circuits
3. Cascode Voltage Switch Logic
4. Dynamic Circuits
5. Pass-Transistor Circuits
6. Circuit Pitfalls
• Circuit Pitfalls
– Detective puzzle
– Given circuit and symptom, diagnose cause and
recommend solution
– All these pitfalls have caused failures in real chips
• Noise Budgets
• Reliability
• Circuit • Symptom
– 2:1 multiplexer – Mux works when
S selected D is 0 but
D0 X
not 1.
Y
D1 – Or fails at low VDD.
S – Or fails in SF corner.
Principle: Threshold drop
– X never rises above VDD-Vt
– Vt is raised by the body effect
– The threshold drop is most serious as Vt becomes a greater
fraction of VDD.
Solution: Use transmission gates, not pass transistors
VLSI Design Chih-Cheng Hsieh
Leakage 5- 89
• Circuit • Symptom
– Latch – Load a 0 into Q
D
X
Q
– Set = 0
– Eventually Q
spontaneously flips to 1
Principle: Leakage
– X is a dynamic node holding value as charge on the node
– Eventually subthreshold leakage may disturb charge
Q
– Or periodically refresh node (requires fast clock,
• Circuit • Symptom
– Domino AND – Precharge gate (Y=0)
X
gate Y – Then evaluate
0
– Eventually Y
1
spontaneously flips to 1
Principle: Leakage
– X is a dynamic node holding value Y
0 X
as charge on the node
– Eventually subthreshold leakage 1
may disturb charge
Solution: Keeper
VLSI Design Chih-Cheng Hsieh
Ratio Failure 5- 91
• Circuit • Symptom
– Pseudo-nMOS OR – When only one input is
true, Y = 0.
X – Perhaps only happens in
Y SF corner.
A B
• Circuit • Symptom
– Latch
– Q stuck at 1.
D X Q – May only happen for
certain latches where
weak input is driven by a small
gate located far away.
Principle: Ratio Failure (again)
– Series resistance of D driver, wire
resistance, and tgate must be much
D Q
less than weak feedback inverter.
Solutions: Check relative strengths weak
– Avoid unbuffered diffusion inputs stronger
where driver is unknown
VLSI Design Chih-Cheng Hsieh
Charge Sharing 5- 93
• Circuit • Symptom
– Domino AND
– Precharge gate while
Y
gate Z A = B = 0, so Z = 0
A
B
X – Set = 1
– A rises
– Z is observed to
Principle: Charge Sharing sometimes rise
– If X was low, it shares charge with Y
Solutions: Limit charge sharing Y
Z
CY A X CY
Vx VY VDD
Cx CY B Cx
– Safe if CY >> CX
– Or precharge node X too
VLSI Design Chih-Cheng Hsieh
Charge Sharing 5- 94
• Circuit • Symptom
– Dynamic gate – Precharge gate while
+ latch
X
transmission gate latch
Y
0
is opaque
– Evaluate
– When latch becomes
transparent, X falls
• Circuit • Symptom
– Latch – Q changes while latch
is opaque
– Especially if D comes
from a far-away driver