Title: CMOS Properties
1CMOS Properties
- Full rail-to-rail swing high noise margins
- Logic levels not dependent upon the relative
device sizes ratioless - Always a path to Vdd or Gnd in steady state low
output impedance - Extremely high input resistance nearly zero
steady-state input current - No direct path steady state between power and
ground no static power dissipation - Propagation delay function of load capacitance
and resistance of transistors
2Switch Delay Model
Req
A
A
NOR2
INV
NAND2
3Input Pattern Effects on Delay
- Delay is dependent on the pattern of inputs
- Low to high transition
- both inputs go low
- delay is 0.69 Rp/2 CL
- one input goes low
- delay is 0.69 Rp CL
- High to low transition
- both inputs go high
- delay is 0.69 2Rn CL
Rn
B
4Delay Dependence on Input Patterns
AB1?0
A1 ?0, B1
A1, B1?0
Voltage V
time ps
NMOS 0.5?m/0.25 ?m PMOS 0.75?m/0.25 ?m CL
100 fF
5Transistor Sizing
4 4
2 2
6Transistor Sizing a Complex CMOS Gate
B
8
6
4
3
C
8
6
4
6
OUT D A (B C)
A
2
D
1
B
C
2
2
7Fan-In Considerations
A
Distributed RC model
(Elmore delay) tpHL 0.69 Reqn(C12C23C34CL)
Propagation delay deteriorates rapidly as a
function of fan-in quadratically in the worst
case.
B
C
D
8tp as a Function of Fan-In
Gates with a fan-in greater than 4 should be
avoided.
tp (psec)
tpLH
fan-in
9tp as a Function of Fan-Out
All gates have the same drive current.
tpNOR2
tpNAND2
tpINV
tp (psec)
Slope is a function of driving strength
eff. fan-out
10tp as a Function of Fan-In and Fan-Out
- Fan-in quadratic due to increasing resistance
and capacitance - Fan-out each additional fan-out gate adds two
gate capacitances to CL - tp a1FI a2FI2 a3FO
11Fast Complex GatesDesign Technique 1
- Transistor sizing
- as long as fan-out capacitance dominates
- Progressive sizing
Distributed RC line M1 gt M2 gt M3 gt gt MN (the
fet closest to the output is the smallest)
InN
MN
In3
M3
In2
M2
Can reduce delay by more than 20 decreasing
gains as technology shrinks
In1
M1
12Fast Complex GatesDesign Technique 2
critical path
critical path
0?1
charged
charged
In1
1
In3
M3
M3
1
In2
1
In2
M2
discharged
M2
charged
1
In3
discharged
In1
M1
charged
M1
0?1
delay determined by time to discharge CL, C1 and
C2
delay determined by time to discharge CL
13Fast Complex GatesDesign Technique 3
- Alternative logic structures
F ABCDEFGH
14Fast Complex GatesDesign Technique 4
- Isolating fan-in from fan-out using buffer
insertion
15Fast Complex GatesDesign Technique 5
- Reducing the voltage swing
- linear reduction in delay
- also reduces power consumption
- But the following gate is much slower!
- Or requires use of sense amplifiers on the
receiving end to restore the signal level (memory
design)
tpHL 0.69 (3/4 (CL VDD)/ IDSATn )
0.69 (3/4 (CL Vswing)/ IDSATn )
16Sizing Logic Paths for Speed
- Frequently, input capacitance of a logic path is
constrained - Logic also has to drive some capacitance
- Example ALU load in an Intels microprocessor is
0.5pF - How do we size the ALU datapath to achieve
maximum speed? - We have already solved this for the inverter
chain can we generalize it for any type of
logic?
17Buffer Example
In
Out
CL
1
2
N
(in units of tinv)
For given N Ci1/Ci Ci/Ci-1 To find N Ci1/Ci
4 How to generalize this to any logic path?
18Logical Effort
p intrinsic delay (3kRunitCunitg) - gate
parameter ? f(W) g logical effort (kRunitCunit)
gate parameter ? f(W) f effective
fanout Normalize everything to an inverter ginv
1, pinv 1 Divide everything by
tinv (everything is measured in unit delays
tinv) Assume g 1.
19Delay in a Logic Gate
Gate delay
d h p
effort delay
intrinsic delay
Effort delay
h g f
logical effort
effective fanout Cout/Cin
Logical effort is a function of topology,
independent of sizing Effective fanout
(electrical effort) is a function of load/gate
size
20Logical Effort
- Inverter has the smallest logical effort and
intrinsic delay of all static CMOS gates - Logical effort of a gate presents the ratio of
its input capacitance to the inverter capacitance
when sized to deliver the same current - Logical effort increases with the gate complexity
21Logical Effort
Logical effort is the ratio of input capacitance
of a gate to the input capacitance of an inverter
with the same output current
g 5/3
g 4/3
g 1
22Logical Effort
From Sutherland, Sproull
23Logical Effort of Gates
t
pNAND
g p d
t
pINV
Normalized delay (d)
g p d
F(Fan-in)
1
2
3
4
5
6
7
Fan-out (h)
24Logical Effort of Gates
t
pNAND
g 4/3 p 2 d (4/3)h2
t
pINV
Normalized delay (d)
g 1 p 1 d h1
F(Fan-in)
1
2
3
4
5
6
7
Fan-out (h)
25Logical Effort of Gates
26Add Branching Effort
Branching effort
27Multistage Networks
Stage effort hi gifi Path electrical effort F
Cout/Cin Path logical effort G
g1g2gN Branching effort B b1b2bN Path
effort H GFB Path delay D Sdi Spi Shi
28Optimum Effort per Stage
When each stage bears the same effort
Stage efforts g1f1 g2f2 gNfN
Effective fanout of each stage
Minimum path delay
29Logical Effort
From Sutherland, Sproull
30Example Optimize Path
g 1f a
g 1f 5/c
g 5/3f b/a
g 5/3f c/b
Effective fanout, F 5 G 25/9 H 125/9
13.9 h 1.93 a 1.93 b ha/g2 2.23 c hb/g3
5g4/f 2.59
31Example 8-input AND
32Method of Logical Effort
- Compute the path effort F GBH
- Find the best number of stages N log4F
- Compute the stage effort f F1/N
- Sketch the path with this number of stages
- Work either from either end, find sizes Cin
Coutg/f - Reference Sutherland, Sproull, Harris, Logical
Effort, Morgan-Kaufmann 1999.
33Summary
Sutherland, Sproull Harris