dynamic combinational circuits - all faculty | duke...

18
1 Krish Chakrabarty 1 Dynamic Combinational Circuits Dynamic circuits Charge sharing, charge redistribution Domino logic np-CMOS (zipper CMOS) Krish Chakrabarty 2 Dynamic Logic Dynamic gates use a clocked pMOS pullup Two modes: precharge and evaluate

Upload: vuongngoc

Post on 21-Aug-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

1

Krish Chakrabarty 1

Dynamic Combinational Circuits

• Dynamic circuits– Charge sharing, charge redistribution

• Domino logic

• np-CMOS (zipper CMOS)

Krish Chakrabarty 2

Dynamic Logic

• Dynamic gates use a clocked pMOS pullup

• Two modes: precharge and evaluate

2

Krish Chakrabarty 3

Dynamic Logic

Mp

Me

VDD

PDNIn1In2In3

OutMe

Mp

VDD

PUNIn1In2In3

Out

CL

CL

2 phase operation:• Evaluation

• Prechargen network p network

Krish Chakrabarty 4

Logical Effort

3

Krish Chakrabarty 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

Krish Chakrabarty 6

Dynamic Logic: Principles

Mp

Me

VDD

PDNIn1In2In3

Out

CL

• Precharge

= 0, Out is precharged to VDD by Mp.Me is turned off, no dc current flows(regardless of input values)

• Evaluation = 1, Me is turned on, Mp is turned off.

Output is pulled down to zero dependingon the values on the inputs. If not, precharged value remains on CL.

Important: Once Out is discharged, it cannot be charged again!Gate input can make only one transition during evaluation

• Minimum clock frequency must be maintained• Can Me be eliminated?

4

Krish Chakrabarty 7

The Foot• What if pulldown network is ON during

precharge?

• Use series evaluation transistor to prevent fight.

Krish Chakrabarty 8

Example

Mp

Me

VDD

Out

A

B

C

• Ratioles s

• No Static Power Cons umption

• Nois e Margins s mall (NML)

• Requires Clock

5

Krish Chakrabarty 9

Dynamic 4 Input NAND Gate

In1

In2

In3

In4

Out

VDD

GND

Krish Chakrabarty 10

Cascading Dynamic Gates

Mp

Me

VDD

Mp

Me

VDD

In

Out1 Out2

Out2

Out1

In

V

t

VTn

6

Krish Chakrabarty 11

Monotonicity• Dynamic gates require monotonically rising inputs

during evaluation– 0 -> 0

– 0 -> 1

– 1 -> 1

– But not 1 -> 0

Krish Chakrabarty 12

Monotonicity Woes• But dynamic gates produce monotonically falling

outputs during evaluation

• Illegal for one dynamic gate to drive another!

7

Krish Chakrabarty 13

Reliability Problems — Charge Leakage

Mp

Me

VDD

Out

ACL(1)

(2)

t

t

Vout

(b) Effect on waveforms(a) Leakage sources

precharge evaluate

Minimum Clock Frequency

A = 0

(1) Leakage through reverse-biased diode of the diffusion area(2) Subthreshold current from drain to source

Krish Chakrabarty 14

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

8

Krish Chakrabarty 15

Charge Sharing (redistribution)

Mp

Me

VDD

Out

A

B = 0

CL

Ca

Cb

Ma

Mb

X

• Assume: during precharge, A and B are 0, Ca is discharged• During evaluation, B remains 0 and A rises to 1• Charge stored on CL is now redistributed over CL and Ca

CLVDD = CL Vout(t) + CaVX

VX = VDD - Vt, thereforeVout(t) = Vout(t) - VDD = (VDD-Vt)

CL

Ca

Desirable to keep the voltage drop below thresholdof pMOS transistor (why?) Ca/CL < 0.2

Krish Chakrabarty 16

Charge Sharing• Dynamic gates suffer from charge sharing

9

Krish Chakrabarty 17

Charge Redistribution - Solutions

Mp

Me

VDD

Out

A

B

Ma

Mb

Mbl Mp

Me

VDD

Out

A

B

Ma

Mb

Mbl

(b) Precharge of internal nodes(a) Static bleeder

Krish Chakrabarty 18

Secondary Precharge• Solution: add secondary precharge transistors

– Typically need to precharge every other node

• Big load capacitance CY helps as well

10

Krish Chakrabarty 19

Domino Logic

Mp

Me

VDD

PDNIn1In2In3

Out1Mp

Me

VDD

PDNIn4

Out2

Mr

VDD

Static Inverterwith Level Restorer

Static invertersbetween dynamic stages

Krish Chakrabarty 20

Domino Gates• Follow dynamic stage with inverting static gate

– Dynamic / static pair is called domino gate

– Produces monotonic outputs

11

Krish Chakrabarty 21

Domino Logic - Characteristics

• O n l y n o n - i n v e r t i n g l o g i c

• V e r y f a s t - O n l y 1 - > 0 t r a n s i t i o n s a t i n p u t o f i n v e r t e r

• A d d i n g l e v e l r e s t o r e r r e d u c e s l e a k a g e a n d

c h a r g e r e d i s t r i b u t i o n p r o b l e m s

• O p t i m i z e i n v e r t e r f o r f a n - o u t

• Precharging makes pull-up very fast

Krish Chakrabarty 22

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 (fast rising output)

Compound domino

8-input domino mux

HI-skew static NAND gate

12

Krish Chakrabarty 23

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

sig_h sig_l Meaning

0 0 Precharged

0 1 ‘0’

1 0 ‘1’

1 1 invalid

Krish Chakrabarty 24

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

13

Krish Chakrabarty 25

Example: XOR/XNOR

• Sometimes possible to share transistors

10: Circuit Families 26

Noise Sensitivity

• Dynamic gates are very sensitive to noise– Inputs: VIH Vtn

– Outputs: floating output susceptible to noise noise

• Noise sources– Capacitive crosstalk

– Charge sharing

– Power supply noise

– Feed-through noise

– And more!

14

10: Circuit Families 27

Power

• Domino gates have high activity factors– Output evaluates and precharges

• If output probability = 0.5, = 0.5– Output rises and falls on half the cycles

– Clocked transistors have = 1

• Leads to very high power consumption

28

Pass Transistor Circuits• Use pass transistors like switches to do logic

• Inputs drive diffusion terminals as well as gates

• CMOS + Transmission Gates:– 2-input multiplexer

– Gates should be restoring

15

29

LEAP

• LEAn integration with Pass transistors

• Get rid of pMOS transistors– Use weak pMOS feedback to pull fully high

– Ratio constraint

Krish Chakrabarty 30

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

16

31

CPL• Complementary Pass-transistor Logic

– Dual-rail form of pass transistor logic

– Avoids need for ratioed feedback

– Optional cross-coupling for rail-to-rail swing

32

Pass Transistor Summary

• Researchers investigated pass transistor logic for general purpose applications in the 1990’s– Benefits over static CMOS were small or negative

– No longer generally used

• However, pass transistors still have a niche in special circuits such as memories where they offer small size and the threshold drops can be managed

17

Krish Chakrabarty 33

np-CMOS (Zipper CMOS)

Mp

Me

VDD

PDNIn1In2In3

Me

Mp

VDD

PUNIn4

Out1

Out2

• Only 1-0 transitions allowed at inputs of PUN• Used a lot in the Alpha design

Krish Chakrabarty 34

np CMOS Adder

18

Krish Chakrabarty 35

CMOS Circuit Styles - Summary