Dynamic Logic and Domino
Precharge a node, then let an NMOS stack discharge it. Learn the rule that keeps a chain of such gates correct, and the two ways it still fails.
You Will Be Able To
- Describe the precharge and evaluate phases of a dynamic gate.
- Explain why a dynamic gate cannot drive another directly, and how the domino inverter fixes it.
- Explain charge sharing and how a keeper limits it.
- Say why the inputs of a footless gate must be low during precharge.
- Lesson
- G9.11
- Time
- 30 min
- Runs on
- ngspice
- Check
- 5 questions
A three-input domino AND had a = 0 for the whole cycle, then a rose late. The right output was 0, since c was 0. The output rose anyway.
Precharge, Then Evaluate
A dynamic gate stores its output on a node instead of driving it all the time. While the clock is 0 a PMOS charges the node to VDD: the precharge phase. While the clock is 1 the NMOS stack may discharge it: the evaluate phase.
- Precharge: clk = 0
P is on and NF is off. The dynamic node charges to VDD whatever a and b are. The inverter holds
outat 0. - Evaluate, a = b = 1
P is off and NF is on. The stack conducts and empties the dynamic node.
outrises to 1. - Evaluate, a = 0
P is off and the stack is open. Nothing drives the dynamic node: it stays high only because of the charge stored on it.
Read the circuit as text
- P PMOS transistor: gate →
n1, source →VDD, drain →n2 - NA NMOS transistor: gate →
n3, drain →n2, source →n4 - NB NMOS transistor: gate →
n5, drain →n4, source →n6 - NF NMOS transistor: gate →
n7, drain →n6, source →0 - clk port: terminal →
n1 - a port: terminal →
n3 - b port: terminal →
n5 - clk port: terminal →
n7 - IP PMOS transistor: gate →
n2, source →VDD, drain →n8 - IN NMOS transistor: gate →
n2, drain →n8, source →0 - out port: terminal →
n8
Four transistors in the dynamic stage and two in the inverter: six, as many as a static CMOS AND gate. The gain is that each input drives only one NMOS.
| Two-input domino AND, a = b = 1 | Clock rise to output rise (evaluate) | Clock fall to output fall (precharge) |
|---|---|---|
| no keeper | 60.8 ps | 119.6 ps |
| with a keeper | 72.0 ps | 123.5 ps |
Measured. Stack and foot NMOS 2 µm, precharge PMOS 1 µm, output inverter 1 µm and 2 µm into 5 fF.
Only NMOS do the logic, and there is no PMOS stack to size. The input sees only NMOS gates, so a domino gate loads its driver less than a static gate does.
The Monotonic Rule and the Domino Inverter
A dynamic node can only fall during evaluate. Once it has fallen, it cannot rise again until the next precharge.
So the inputs of a dynamic gate may only rise during evaluate. An input that starts high and then falls has already let the node discharge.
- Datapath
- Data
- Direct
Stage 2 sees a high input for the first part of evaluate and starts to discharge. Its node fell to 1.07 V before stage 1 finished. Its output still read 0, but a slower stage 1 would flip it.
- With the domino inverter
The inverter output starts low and can only rise. Stage 2 sees a 0 for as long as stage 1 has not finished, so it never discharges by mistake.
Read the diagram as text
- Stage 1 dynamic node: starts high, falls
- Stage 2 dynamic node: should stay high
- Domino inverter: starts low, rises
- Stage 2 with an inverted input: stays high
- Stage 1 dynamic node → Stage 2 dynamic node: falling input
- Stage 1 dynamic node → Domino inverter
- Domino inverter → Stage 2 with an inverted input: rising input
A dynamic node plus an inverter is one domino stage. Its output is monotonic: it only rises during evaluate.
An extra inverter between two domino stages breaks the rule again. Its output starts high and falls during evaluate. The second node was emptied, and its output went to 1.8 V instead of 0. Domino logic is therefore non-inverting. Designers build inverting functions with dual-rail domino, which computes both polarities.
Charge Sharing and the Keeper
The inner nodes of the stack have capacitance too. Suppose an earlier cycle emptied them. Then a top transistor turns on while the path to ground is still open. Charge flows from the dynamic node into the inner nodes.
| Three-input domino AND | Lowest dynamic node | Highest output | Dynamic node at the end of evaluate |
|---|---|---|---|
| no keeper | 0.795 V | 1.442 V | 0.822 V |
| with a keeper | 0.893 V | 0.145 V | 1.581 V |
Measured in the run of the hook figure. The right output is 0 in both cases.
A keeper is a weak PMOS from VDD to the dynamic node, with its gate at the output. While the output is 0 it is on and tops the node up. It also fights the stack when the gate should switch: evaluate grew from 60.8 ps to 72.0 ps.
Two more fixes are common. Precharge the inner nodes with small extra PMOS, or put the inputs that arrive late at the bottom of the stack.
The Foot and Precharge
The foot NMOS cuts the stack off from ground while the clock is 0. A footless gate is faster, but its inputs must all be low during precharge. Otherwise the precharge PMOS fights the stack: the footless node reached only 74 mV while 180.5 µA flowed. The footed gate reached 1.800 V.
In a domino chain this holds for every stage after the first. Each of its inputs is a domino output, and a domino output is 0 during precharge once its own stage has precharged. Where precharge ripples down the chain, footless stages get a delayed precharge clock.
Asked in interviews
What is domino logic?
A dynamic gate followed by a static inverter. The dynamic node is precharged high and may then be discharged. The inverter makes the output only rise, so stages can share one clock.
What is charge sharing in a dynamic gate?
An upper transistor of the stack turns on while the path to ground is still open. Charge on the dynamic node spreads into the inner nodes. The node drops and the output can glitch. Keepers and inner-node precharge limit it.
Why must domino inputs be monotonic?
A dynamic node cannot recover once discharged in evaluate. An input that falls during evaluate may already have discharged it, giving a wrong result until the next precharge.
Try It
ev_a is the evaluate delay of the gate without a keeper: 60.8 ps. ev_k is the same with a keeper: 72.0 ps.
pre_a and pre_k are the precharge delays: 119.6 and 123.5 ps. The keeper hardly matters there, since it is off while the output is 1.
Change L=1 of the keeper Xkkeep to L=0.15 and run. A strong keeper slows evaluate much more.
Run the netlist to draw its plots here.
ev_a = 6.077532e-11 targ= 1.085775e-09 trig= 1.025000e-09 pre_a = 1.195632e-10 targ= 2.144563e-09 trig= 2.025000e-09 ev_k = 7.195065e-11 targ= 1.096951e-09 trig= 1.025000e-09 pre_k = 1.235490e-10 targ= 2.148549e-09 trig= 2.025000e-09Check Yourself
Common Mistakes
Wrong Drive a dynamic gate straight from another dynamic node.
At the start of evaluate the first node is still high, so the second gate starts to discharge. It fell to 1.07 V, although its input ended at 0. Its output held, but with almost no margin.
Fix Put an inverter after each dynamic node. Domino outputs only rise during evaluate.
Wrong Add an inverter between two domino stages to get the other polarity.
The extra inverter starts high and falls during evaluate. The second dynamic node was emptied and its output went to 1.8 V: a wrong 1 until the next precharge.
Fix Keep every domino input monotonic rising. Build the logic so that no inversion is needed inside, or use dual-rail domino.
Wrong Assume the dynamic node stays high when the stack is open.
Inner nodes emptied in an earlier cycle take a share of its charge. Without a keeper it fell to 0.795 V, and the output pulsed to 1.442 V.
Fix Add a keeper, a weak PMOS that tops the node up. Precharge inner nodes when the glitch is too large.
Wrong Remove the foot transistor and leave the inputs high during precharge.
Then the precharge PMOS fights the stack. The footless gate's node only reached 74 mV, and 180.5 µA flowed.
Fix Keep the foot, or make sure every input of a footless gate is low during precharge.
Remember
- Dynamic gate: precharge the node while the clock is 0, let the NMOS stack discharge it while the clock is 1.
- A dynamic node can only fall during evaluate, so inputs must be monotonic rising.
- Domino = dynamic stage + inverter: outputs only rise, so stages chain on one clock. Domino is non-inverting.
- Charge sharing with emptied inner nodes can glitch the output. A weak keeper limits it, at some evaluate delay.
- Footless gates need every input low during precharge.