Professional Documents
Culture Documents
Circuits
• Dynamic circuits
– Charge sharing, charge redistribution
• Domino logic
• np-CMOS (zipper CMOS)
James Morizio 1
Dynamic Logic
• Dynamic gates use a clocked pMOS pullup
• Two modes: precharge and evaluate
2 2/3 φ 1
A Y Y Y
1 A 4/3 A 1
James Morizio 2
The Foot
• What if pulldown network is ON during
precharge?
• Use series evaluation transistor to prevent fight.
φ φ
precharge transistor
φ Y Y
Y inputs inputs
A f f
foot
footed unfooted
James Morizio 3
Dynamic Logic
VDD VDD
Φ Mp Φ Me
Out
In1
CL
In1 In2 PUN
In2 PDN In3
In3 Out
Me Mp CL
Φ Φ
Φn network Φp network
• Precharge
2 phase operation:
• Evaluation
James Morizio 4
Logical Effort
Inverter NAND2 NOR2
φ 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
James Morizio 5
Dynamic Logic
• N+2 transistors for N-input function
– Better than 2N transistors for complementary static CMOS
– Comparable to N+1 for ratio-ed logic
• No static power dissipation
– Better than ratio-ed logic
• Careful design, clock signal Φ needed
James Morizio 6
Dynamic Logic: Principles
VDD • Precharge
Φ = 0, Out is precharged to VDD by Mp.
Φ Mp
Me is turned off, no dc current flows
Out
(regardless of input values)
CL
In1 • Evaluation
In2 PDN
In3 Φ = 1, Me is turned on, Mp is turned off.
Output is pulled down to zero depending
Me on the values on the inputs. If not,
Φ
precharged value remains on CL.
James Morizio 7
Example
VDD
Φ Mp
Out
• Ratio le s s
• No Static Po we r Cons umptio n
A • Nois e Marg ins s mall (NML)
C
• Requires Cloc k
B
Φ Me
James Morizio 8
Dynamic 4 Input NAND Gate
James Morizio 9
Cascading Dynamic Gates
VDD VDD V
Φ
Mp Φ Mp
Φ In
Out1 Out2
Out1
In VTn
Out2
Φ Me Φ Me t
Internal nodes can only make 0-1 transitions during evaluation period
James Morizio 10
Monotonicity
• Dynamic gates require monotonically rising inputs
during evaluation φ
– 0 -> 0 A
– 0 -> 1
– 1 -> 1 violates monotonicity
during evaluation
– But not 1 -> 0 A
James Morizio 11
Monotonicity Woes
• But dynamic gates produce monotonically falling
outputs during evaluation
• Illegal for one dynamic gate to drive another!
A=1
James Morizio 12
Reliability Problems — Charge Leakage
VDD
Φ
Φ Mp
Out
(1) CL
A t
Vout precharge evaluate
(2)
A=0
Φ Me
t
(a) Leakage sources (b) Effect on waveforms
James Morizio 13
Leakage
• Dynamic node floats high during evaluation
– Transistors are leaky (IOFF ≠ 0)
– Dynamic value will leak away over time
– Formerly miliseconds, now nanoseconds!
• Use keeper to hold dynamic node
– Must be weak enough not to fight evaluation
weak keeper
φ 1 k
X
H Y
A 2
2
James Morizio 14
Charge Sharing (redistribution)
• Assume: during precharge, A and B are 0, Ca is discharged
VDD • During evaluation, B remains 0 and A rises to 1
• Charge stored on CL is now redistributed over CL and Ca
Mp
Out
James Morizio 15
Charge Sharing
• Dynamic gates suffer from charge sharing
φ
φ
Y A
A x CY
Y
B=0 Cx Charge sharing noise
CY
Vx = VY = VDD
C x + CY
James Morizio 16
Charge Redistribution - Solutions
VDD VDD
Mp Mbl Mp Mbl Φ
Φ Φ
Out
Out
A Ma A Ma
B Mb B Mb
Φ Me Φ Me
James Morizio 17
Secondary Precharge
• Solution: add secondary precharge transistors
– Typically need to precharge every other node
• Big load capacitance CY helps as well
secondary
φ precharge
Y transistor
A x
B
James Morizio 18
Domino Logic
VDD VDD
VDD
Φ Mp Φ Mp Mr
Out1
Out2
In1 Static Inverter
In2 PDN In4 PDN with Level Restorer
In3
Φ Me Φ Me
Static inverters
between dynamic stages
James Morizio 19
Domino Gates
• Follow dynamic stage with inverting static gate
– Dynamic / static pair is called domino gate
– Produces monotonic outputs
φ Precharge Evaluate Precharge
domino AND
W
W X Y Z X
A
Y
B C
φ
Z
dynamic static
φ φ
NAND inverter φ φ
A W X A X
H Y =
B H Z B Z
C C
James Morizio 20
Domino Logic - Characteristics
James Morizio 21
Domino Optimizations
• Each domino gate triggers next one, like a string of
dominos toppling over
• Gates evaluate sequentially but precharge in parallel
• Thus evaluation is more critical than precharge
• HI-skewed static stages can perform logic
φ
S0 S1 S2 S3
D0 D1 D2 D3
Y
H
φ
S4 S5 S6 S7
D4 D5 D6 D7
James Morizio 22
Dual-Rail Domino
• Domino only performs noninverting functions:
– AND, OR but not NAND, NOR, or XOR
• Dual-rail domino solves this problem
– Takes true and complementary inputs
– Produces true and complementary outputs
1 0 ‘1’ φ
1 1 invalid
James Morizio 23
Example: AND/NAND
• Given A_h, A_l, B_h, B_l
• Compute Y_h = A * B, Y_l = ~(A * B)
• Pulldown networks are conduction complements
Y_l φ Y_h
= A*B A_h = A*B
A_l B_l B_h
James Morizio 24
Example: XOR/XNOR
• Sometimes possible to share transistors
Y_l φ Y_h
= A xnor B A_h A_l A_l A_h = A xor B
B_l B_h
James Morizio 25
Domino Summary
• Domino logic is attractive for high-speed circuits
– 1.5 – 2x faster than static CMOS
– But many challenges:
• Monotonicity
• Leakage
• Charge sharing
• Noise
• Widely used in high-performance microprocessors
James Morizio 26
np-CMOS (Zipper CMOS)
VDD VDD
Φ Mp Me
Out1 Φ
In1 PUN
In2 PDN In4
In3 Out2
Φ Me Mp
Φ
James Morizio 27
np CMOS Adder
VD D VD D
VDD VDD
φ φ S1
φ φ
Ci1
A1 B1 B1 A1
B1 Ci1 A1
A1
B1
Ci2 φ
φ φ
φ
VDD
VDD
VDD φ
φ
φ B0
A0 Ci1
A0 B0 Ci0 A0
A0 B0 B0 Ci0
S0
φ φ φ
Ci0
Carry Path
James Morizio 28
CMOS Circuit Styles - Summary
James Morizio 29