You are on page 1of 43

Dynamic CMOS Circuits

Outline
In-depth discussion of CMOS logic families
Static and Dynamic Dynamic circuits Domino loigc Np Np- logic TspcTspc -logic NoraNora -logic Area, Speed, Energy or Robustness

High Performance circuit-design techniques
Nitin Chaturvedi

Dynamic logic

Dynamic CMOS
In static circuits at every point in time (except when switching) the output is connected to either GND or VDD via a low resistance path.
fan-in of N requires 2N devices

Dynamic circuits rely on the temporary storage of signal values on the capacitance of high impedance nodes.
requires only N + 2 transistors takes a sequence of precharge and conditional evaluation phases to realize logic functions
Nitin Chaturvedi

Dynamic logic

Dynamic Gate
CLK In1 In2 In3 CLK
Mp

CLK Out CL

Mp

on off

1 Out !((A&B)|C) C

PDN

A B

Me

CLK

Me

off on

Two phase operation Precharge (CLK = 0) Evaluate (CLK = 1)
Nitin Chaturvedi

Dynamic logic

Inputs to the gate can make at most one transition during evaluation. Output can be in high impedance state during and after evaluation (PDN off).Conditions on Output Once the output of a dynamic gate is discharged. state is stored on CL This behavior is fundamentally different than the static counterpart that always has a low resistance path between the output and one of the power rails Nitin Chaturvedi Dynamic logic . it cannot be charged again until the next precharge operation.

so set VM.Properties of Dynamic Gates Number of transistors is N + 2 (versus 2N for static complementary CMOS) Logic function is implemented by the PDN only Should be smaller in area than static complementary CMOS Full swing outputs (VOL = GND and VOH = VDD) Nonratioed . VIH and VIL all equal to VTn Nitin Chaturvedi Dynamic logic .sizing of the devices is not important for proper functioning (only for performance) Low noise margin (NML) PDN starts to work as soon as the input signals exceed VTn.

Properties of Dynamic Gates II Faster switching speeds Reduced load capacitance due to lower number of transistors per gate (Cint) so a reduced logical effort Reduced load capacitance due to smaller fan-out (Cext) No Isc. tpLH = 0 but the presence of the evaluation transistor slows down the tpHL Needs a precharge/evaluate clock Nitin Chaturvedi Dynamic logic . so all the current provided by PDN goes into discharging CL Ignoring the influence of precharge time on the switching speed of the gate.

Properties of Dynamic Gates III Power dissipation should be better than CMOS Consumes only dynamic power – no short circuit power consumption since the pull-up path is not on when evaluating Lower CL.both Cint (since there are fewer transistors connected to the drain output) and Cext (since there the output load is one per connected gate. not two) No glitches .By construction can have at most one transition per cycle However overall power dissipation is usually higher than static CMOS due to higher transition probabilities extra load on CLK Nitin Chaturvedi Dynamic logic .

5 2.5 Evaluate In & CLK Out Precharge -0.5 1 all data inputs set to 1 Time (ns) NML VTn tpHL 110ps tpLH 0ns tp 83ps #Trs 6 Nitin Chaturvedi VOH 2.5-VTn Dynamic logic .5V VOL 0V VM VTn NMH 2.Dynamic Behavior CLK Out In1 In2 In3 In4 CLK 0.5 1.5 0 0.

g. precharge of a FU can coincide with instruction decode). The duration of the precharge cycle can be adjusted by changing the size of the PMOS precharge transistor.Notes on Dynamic Behavior The precharge time is determined by the time it takes to charge CL through the PMOS precharge transistor. the overall digital system can be designed in such a way that the precharge time coincides with other system functions (e. Often. Nitin Chaturvedi Dynamic logic .. But making it too large increases the gate’s Cint as well as increasing the capacitive load on the clock.

55 55) ) -0.5 Vout (VG=0.5) 0.5 0 20 40 60 80 100 Time (ns) Nitin Chaturvedi Dynamic logic . Noise needed to corrupt the signal has to be larger if the evaluation time is short – i. 2.5 Vout (VG=0.45 45) ) Voltage (V) 1..e. the switching threshold is truly time independent.5 CLK Vout (VG=0.Gate Parameters are Time Independent The amount by which the output voltage drops is a strong function of the input voltage and the available evaluation time.

Power Consumption of Dynamic Gate CLK In1 In2 In3 CLK Mp Out CL PDN Eliminates Static power Consumption Me Power only dissipated when previous Out = 0 But what about clock power impact? Nitin Chaturvedi Dynamic logic .

Dynamic PC is Data Dependent Dynamic 22-input NOR Gate A 0 0 1 1 B 0 1 0 1 Out 1 0 0 0 Assume signal probabilities PA=1 = 1/2 PB=1 = 1/2 Then transition probability P0→1 = Pout=0 x Pout=1 = 3/4 x 1 = 3/4 Switching activity can be higher in dynamic gates! P0→1 = Pout= out=0 0 (static NOR gate P0→1 = 3/16) Nitin Chaturvedi Dynamic logic .

Issues in Dynamic Design 1: CLK 4 Charge Leakage CLK Mp 3 Out 1 A= A=0 0 2 CL Me CLK VOut Precharge Evaluate Leakage sources Minimum clock rate of a few kHz Nitin Chaturvedi Dynamic logic .

offsets the leakage due to the pull down paths.Source of Charge Leakage Charge stored on CL will leak away with time (input in low state during evaluation) Dominant leakage sources are reverse-biased diode (1) and the sub-threshold leakage (2) of the NMOS pulldown device. Requires a minimum clock rate Not good for low performance products such as watches (or when there are conditional clocks) Nitin Chaturvedi Dynamic logic . PMOS precharge device also contributes some leakage due to reverse bias diode (3) and subthreshold conduction (4) that. to some extent.

5 -0.5 0 20 40 Time (ms) Nitin Chaturvedi Dynamic logic .Impact of Charge Leakage Output settles to an intermediate voltage determined by a resistive divider of the pull-up and pull-down networks Once the output drops below the switching threshold of the fan-out logic gate.5 Voltage (V) Out 1.5 0. CLK 2. the output is interpreted as a low voltage.

circuit must be ratioed so that PDN wins.A Solution to Charge Leakage Keeper compensates for the charge lost due to the pulldown leakage paths. eventually Nitin Chaturvedi Dynamic logic . Keeper CLK A B CLK Me Mp Mkp Out State Precharge Evaluate PDN Irr. OFF ON Out VDD VDD VDD → 0 Mkp ON ON ON → OFF Same approach as level restorer logic CL If PDN is on. there is a fight between the PDN and the PUN .

When ∆Vout = .Issues in Dynamic Design 2: CLK A B=0 CLK Me Mp Charge Sharing Out CL Ca Cb Charge stored originally on CL is redistributed (shared) over CL and CA leading to static power consumption by downstream gates and possible circuit malfunction. Nitin Chaturvedi Dynamic logic .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.

Charge Sharing Example 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.5V*( V*(30 30/( /(30 30+ +50 50)) )) = -0.VDD [(Ca + Cc)/((Ca + Cc) + Cy)] = .) CLK A !A y=A⊕B⊕C Load inverter a Ca=15 15fF fF B Cy=50 50fF fF c !B !C b B C !B d Cb=15 15fF fF Cc=15 15fF fF Cd=10fF ∆Vout = .94 94V V CLK Nitin Chaturvedi Dynamic logic .2.

94 = 1. A !B C.56 V which is below the switching threshold of the Load inverter.94 V so the output drops to 2. and A B !C) Worst case is obtained by exposing the maximum amount of internal capacitance to the output node during evaluation. Nitin Chaturvedi Dynamic logic . This happens when !A B C or A !B C ∆V = -0.5 . !A !B !C.0.Notes on Charge Sharing Example Output stays high for 4 out of 8 cases (!A B C.

Solution to Charge Redistribution CLK A B CLK Me Mp Mkp CLK Out Precharge internal nodes using a clock-driven transistor (at the cost of increased area and power) Nitin Chaturvedi Dynamic logic .

Issues in Dynamic Design 3: Backgate Coupling Susceptible to crosstalk due to 1) high impedance of the output node and 2) capacitive coupling CLK Mp M1 M2 Me Out1 Out 1 =1 C L1 M6 M5 Out2 Out 2 =0 A= A=0 0 B=0 CLK M4 M3 C L2 In Static NAND Dynamic NAND Out2 capacitively couples with Out Out2 Out1 1 through the gate-source and gate-drain capacitances of M4 Nitin Chaturvedi Dynamic logic .

Backgate Coupling Effect Capacitive coupling means Out Out1 1 drops significantly so Out2 Out 2 does not go all the way to ground 3 2 Out1 1 CLK 0 In 0 2 Out2 -1 4 6 Time (ns) Nitin Chaturvedi Dynamic logic .

A wire routed over or next to a dynamic node may couple capacitively and destroy the state of the floating node. Due to capacitive backgate coupling between the internal and output node of the static gate and the output of the dynamic gate.5V) due to clock feedthrough Nitin Chaturvedi Dynamic logic .Notes on Backgate Coupling Effect The high impedance of the output node makes the circuit very sensitive to crosstalk effects. Out1 voltage is reduced. Out1 overshoots VDD (2.

drain capacitance. So voltage of Out can rise above VDD.Issues in Dynamic Design 4: Clock Feedthrough A special case of capacitive coupling between the clock input of the precharge transistor and the dynamic output node CLK A B Mp Out CL CLK Me Coupling between Out and CLK input of the precharge device due to the gate. Nitin Chaturvedi Dynamic logic . The fast rising (and falling edges) of the clock couple to Out.

Clock Feedthrough Example CLK Clock feedthrough Out 2.5 In1 In2 In3 In4 CLK -0. Nitin Chaturvedi Dynamic logic .5 1 1.5 0 0.5 0.5 In & CLK Out Clock feedthrough Time (ns) Signal levels can rise enough above VDD that the normally reversereversebiased junction diodes become forwardforward-biased causing electrons to be injected into the substrate.

Cascading Dynamic Gates V CLK Mp CLK Mp CLK Out1 Out2 Out 2 In CLK Me CLK Me In Out1 Out 1 VTn ∆V t Out2 Out 2 Only a single 0 → 1 transition allowed at the inputs during the evaluation period! Nitin Chaturvedi Dynamic logic .

Domino Logic CLK In1 In2 In3 CLK Mp 1→1 1→0 CLK Out1 Out 1 0→0 0→1 Mp Mkp Out2 Out 2 PDN In2 In3 PDN Me CLK Me Assume all inputs to the Domino gate are initially zero Nitin Chaturvedi Dynamic logic .

Why Domino? CLK In1 Ini Inj CLK PDN Ini Inj PDN Ini Inj PDN Ini Inj PDN Like falling dominos! Dynamic logic Nitin Chaturvedi .

The buffer also reduces the capacitance of the dynamic output node by separating internal and load capacitances. the inverter can be used to drive a bleeder to combat leakage and charge redistribution. the only possible transition during evaluation is 0 to 1 Additional advantage is that the fan-out of the gate is driven by a static inverter with a low-impedance output that increases the noise immunity. Finally. Hence. Nitin Chaturvedi Dynamic logic .Notes on Dominic Logic Ensures all inputs to the Domino gate are set to 0 at the end of the precharge period.

Domino Manchester Carry Chain CLK 3 P0 3 P1 3 3 P2 2 3 P3 1 3 Ci.4 4 1 2 Ci. i.0 CLK 4 5 G0 6 4 G1 5 3 G2 4 2 G3 3 !(G0 + P0 Ci.0) Automatically forms all the intermediate carries Nitin Chaturvedi Dynamic logic .0) !(G1 + P1G0 + P1P0 Ci.0 i.

Nitin Chaturvedi Dynamic logic .Domino Comparator CLK A3 A2 A1 A0 Out B3 B2 B1 B0 Don’t need isolation NMOS in the pullpull-down. since the PDN is forced off during precharge.

only Low-High transitions allow static inverter can be optimized to match fan-out (separation of fan-in and fan-out capacitances) Input capacitances reduced .Properties of Domino Logic Only non-inverting logic can be implemented.smaller logical effort Nitin Chaturvedi Dynamic logic . fixes include can reorganize the logic using Boolean transformations use differential logic (dual rail) use np-CMOS (zipper) Very high speed tpHL = 0.

Differential (Dual Rail) Domino Solve problem of non-inverting logic off CLK Out = AB 1 A !A B CLK Me Mp Mkp on Mkp Mp CLK 0 1 !B 0 !Out = !(AB) AND/NAND Due to its highhigh-performance. differential domino is very popular and is used in several commercial microprocessors! Nitin Chaturvedi Dynamic logic .

Notes on Differential Domino The inputs and their complements come from other differential DR gates and thus all inputs are low during precharge and make a conditional transition from 0 to 1.but can implement any arbitrary function. Expensive . since either Out or !Out will transit from 0 to 1). Nonratioed (even though it has a cross-coupled PMOS pair) Nitin Chaturvedi Dynamic logic . Use significant power since they have a guaranteed transition every single clock cycle (regardless of signal statistics.

npnp-CMOS (Zipper) CLK In1 In2 In3 CLK Mp 1→1 1→0 !CLK Out1 Out 1 Me PDN In4 In5 !CLK PUN 0→0 0→1 Me Mp Out2 Out2 (to PDN) In4 and In5 must be from PDN Only 0 → 1 transitions allowed at inputs of PDN Only 1 → 0 transitions allowed at inputs of PUN Nitin Chaturvedi Dynamic logic .

NORA (No Race) CLK In1 In2 In3 CLK Mp 1→1 1→0 !CLK Out1 Me PDN In4 In5 !CLK to other PDN’s PUN 0→0 0→1 Me Mp Out2 Out2 (to PDN) to other PUN’s Very sensitive to Noise! Nitin Chaturvedi Dynamic logic .

Note on npnp-CMOS and NORA DEC alpha uses np-CMOS logic (Dobberpuhl) Have to size the PUN’s to equalize the delay to that of the PDN’s Really dense layouts and very high speed (20% faster than domino with the correct sizing) Reduced noise margin (as with any dynamic gate) More sensitive to noise Increase complexity Have two clock signals to generate and route .CLK and !CLK Nitin Chaturvedi Dynamic logic .

npnp-CMOS Adder Circuit !CLK 1→x 0→x CLK !C1 !A1 !B1 1→x Sum1 !A1 !B1 !B1 !A1 !A1 0 → xC 2 !B1 !C1 CLK !CLK !CLK CLK 0→x 1 → x !C1 A0 B0 CLK B0 A0 B0 1→x C0 A0 C0 Nitin Chaturvedi B0 A0 C0 !CLK Dynamic logic 0→x !Sum0 .

ADVANTAGE1 ADVANTAGE 1 --MULTIPLE --MULTIPLE OUTPUT DOMINO .

Example Multiple precharge trans. .

ADVANTAGE2 ADVANTAGE 2 COMPOUND DOMINO .

ease of testing 4-input NAND Style Comp Static CPL* domino DCVSL* * Dual Rail # Trans 8 12 + 2 6+2 10 Ease 1 2 4 3 Ratioed? Delay Power no no no yes 3 4 2 1 1 3 2 + clk 4 Current trend is towards an increased use of complementary static CMOS: design support through DA tools.How to Choose a Logic Style Must consider ease of design. fan-out. power. area. system clocking requirements. Nitin Chaturvedi Dynamic logic . robustness (noise immunity). speed. more amenable to voltage scaling. robust. functionality.