Ratioed Logic: Pseudo-NMOS
Replace the whole pull-up network by one PMOS that is always on. Pay for it with a ratio, a static current and a slow rise.
You Will Be Able To
- Draw a pseudo-NMOS gate and say what its PMOS does.
- Explain why its low level depends on the ratio of the pull-up to the pull-down.
- Estimate its static power when the output is low.
- Say where ratioed logic is still worth using.
- Lesson
- G9.10
- Time
- 25 min
- Runs on
- ngspice
- Check
- 5 questions
A 16-input NOR in static CMOS needs 16 PMOS in series. That stack would be very slow. A pseudo-NMOS NOR16 needs 16 NMOS in parallel and a single PMOS.
y down. One PMOS, its gate tied to ground, is always on and pulls y up.- All inputs 0: y = 1
Every NMOS is off. The PMOS pulls
yall the way to VDD, and no current flows once it gets there. - a = 1: y is low, but not 0 V
NA pulls down while P still pulls up. They fight. NA wins because it is much stronger:
ysits at 36 mV, and 91.1 µA flows from VDD to ground. - All inputs 1: y is lower still
Four NMOS in parallel are four times as strong, so
yfalls to 9 mV. The current stays about the same: the PMOS limits it.
Read the circuit as text
- P PMOS transistor: gate →
0, source →VDD, drain →n1 - NA NMOS transistor: gate →
n2, drain →n1, source →0 - NB NMOS transistor: gate →
n3, drain →n1, source →0 - NC NMOS transistor: gate →
n4, drain →n1, source →0 - ND NMOS transistor: gate →
n5, drain →n1, source →0 - a port: terminal →
n2 - b port: terminal →
n3 - c port: terminal →
n4 - d port: terminal →
n5 - y port: terminal →
n1
Five transistors for a NOR4. Static CMOS needs eight, with four PMOS in series.
One PMOS That Is Always On
A pseudo-NMOS gate keeps the NMOS pull-down network of static CMOS. The pull-up network is replaced by one PMOS with its gate at ground, so it is always on.
| Inputs | Output | Current from the supply |
|---|---|---|
| all 0 | 1.800 V | 11.3 pA |
| one at 1 | 36 mV | 91.1 µA |
| all four at 1 | 9 mV | 91.6 µA |
Measured: the NOR4 of the lab, NMOS 2 µm each, PMOS 0.5 µm, at rest.
The high level is a full 1.8 V. The low level is not 0 V: it is where the two transistors' currents balance. A gate whose output level depends on transistor sizes is called ratioed.
- Power
- Device
- I/O
- Power
- All inputs 0
The NMOS network is open. The load charges y to 1.800 V, and then no current flows.
- One input 1
Both conduct. y settles where the load's current equals the NMOS current: 36 mV, with 91.1 µA flowing through.
- A wider load
A stronger PMOS pushes the balance point up. The next section measures how far.
Read the diagram as text
- Supply: 1.8 V
- PMOS load: always on, narrow
- Output y: where the currents balance
- NMOS network: one per input, wide
- Ground: 0 V
- Supply → PMOS load
- PMOS load → Output y: pulls up
- Output y → NMOS network: pulls down
- NMOS network → Ground
The level depends on the ratio of the two strengths, hence ratioed logic.
The Low Level Is Set by a Ratio
- output low level
- static current
Read the plot as a table
| PMOS width | output low level | static current |
|---|---|---|
| 600 nm | 44.55 mV | 110.4 µA |
| 800 nm | 60.2 mV | 147.6 µA |
| 1 µm | 74.39 mV | 180.5 µA |
| 1.2 µm | 90.72 mV | 216.6 µA |
| 1.4 µm | 107.1 mV | 252.8 µA |
| 1.6 µm | 123.7 mV | 288.4 µA |
| 1.8 µm | 140.7 mV | 323.4 µA |
| 2 µm | 157.7 mV | 358.5 µA |
Measured with ngspice 42 on SKY130 tt, 1.8 V: one run with six inverters side by side.
| PMOS width | Low level | Static current | Static power |
|---|---|---|---|
| 0.42 µm | 30 mV | 75.7 µA | 136 µW |
| 0.5 µm | 36 mV | 91.1 µA | 164 µW |
| 0.75 µm | 57 mV | 139.3 µA | 251 µW |
| 1 µm | 74 mV | 180.5 µA | 325 µW |
| 1.5 µm | 115 mV | 270.9 µA | 488 µW |
| 2 µm | 158 mV | 358.5 µA | 645 µW |
Measured: NMOS 2 µm, input high, 1.8 V.
Every step up in PMOS width lifts the low level and the current together. The unit inverter reads anything below 0.742 V as 0 (lesson G9.4), so even 158 mV still works. But the low noise margin shrinks with each step.
Static Power and a Slow Rise
- v(in)
- v(yp), pseudo-NMOS
- v(ys), static CMOS
- Time 225 psv(in) = 900 mV · v(yp), pseudo-NMOS = 1.818 V · v(ys), static CMOS = 1.883 V
The input rises. The wide NMOS of the pseudo-NMOS gate pulls down fast: 24.1 ps, against 37.3 ps for static CMOS. Its output stays slightly above 0 V.
- Time 1.175 nsv(in) = 900 mV · v(yp), pseudo-NMOS = 32.45 mV · v(ys), static CMOS = -43.46 mV
The input falls. Now only the weak PMOS can charge the load.
- Time 1.298 nsv(in) = 0 V · v(yp), pseudo-NMOS = 899.9 mV · v(ys), static CMOS = 1.763 V
The pseudo-NMOS output crosses 0.9 V 123.3 ps after the input. Static CMOS took 45.7 ps.
Read the plot as a table
| Time | v(in) | v(yp), pseudo-NMOS | v(ys), static CMOS |
|---|---|---|---|
| 0 s | 0 V | 1.8 V | 1.8 V |
| 225 ps | 900 mV | 1.818 V | 1.883 V |
| 500 ps | 1.8 V | 36.49 mV | 346.1 nV |
| 1 ns | 1.8 V | 36.49 mV | 345.9 nV |
| 1.175 ns | 900 mV | 32.45 mV | -43.46 mV |
| 1.298 ns | 0 V | 899.9 mV | 1.763 V |
| 1.5 ns | 0 V | 1.674 V | 1.8 V |
| 2 ns | 0 V | 1.8 V | 1.8 V |
Measured with ngspice 42 on SKY130, 1.8 V.
The fall is fast and the rise slow. The static current is the larger cost: 164 µW for one gate whose output is low. A thousand such gates would draw 164 mW while doing nothing.
So pseudo-NMOS survives where its strengths matter most. Wide NOR gates, such as the address match in a content-addressable memory, and the planes of a PLA or ROM use it. Often the load is switched off when the block is idle.
At Switch Level: A Weaker Pull-Up
A switch-level simulator has no widths, but it has strengths. A pmos switch passes a strong 1. An rpmos, a resistive switch, passes the supply at the weaker pull strength. A strong 0 beats a pull 1, so the NMOS wins as it does in silicon.
With a strong pmos load the two drivers have equal strength. The result is x, which says the circuit has no defined level. Problem G9.10.1 grades the strength of each level, not only its value.
Asked in interviews
What is pseudo-NMOS logic?
An NMOS pull-down network with one always-on PMOS as the pull-up. It uses n + 1 transistors for an n-input gate. Its low level is set by the ratio of the two, and it draws static current while the output is low.
What does ratioed mean?
The output level depends on the relative strength of the transistors. In static CMOS only one network conducts, so the levels are the rails whatever the sizes.
Where is pseudo-NMOS still used?
In wide NOR gates, such as match lines and the planes of PLAs and ROMs. There a static CMOS pull-up would need a long series stack. The load is often turned off when the block is idle.
Try It
y_one is the low level with one input high: 36 mV. i_one is the current then: 91.1 µA.
y_none is the high level, 1.800 V, and i_none the current at rest with no input high: 11.3 pA, only leakage.
Change W=0.5 of the PMOS XoP to W=2 and run. Compare y_one and i_one with the table of the second section.
Run the netlist to draw its plots here.
y_none = 1.800000e+00 y_one = 3.648688e-02 y_all = 8.979696e-03 i_none = 1.127982e-11 i_one = 9.111077e-05 i_all = 9.155138e-05Check Yourself
Common Mistakes
Wrong Make the pull-up PMOS wide, to get a fast rise.
A wider PMOS fights the pull-down harder. At 2 µm the low level rose to 158 mV and the current to 358.5 µA.
Fix Keep the PMOS several times weaker than the weakest pull-down path. The low level must stay well under the next gate's threshold.
Wrong Leave the PMOS out, since the NMOS do all the logic.
With every input low nothing drives the output. It floats, and at switch level it reads z.
Fix Keep one always-on pull-up. It is the whole pull-up network of the gate.
Wrong Use pseudo-NMOS for gates that are low most of the time.
Current flows from the supply to ground for as long as the output is low. Here that is 91.1 µA, or 164 µW for one gate.
Fix Use it where its output is mostly high, or where the gate is switched off when idle.
Wrong Expect a pseudo-NMOS gate to be fast in both directions.
The weak PMOS charges the load slowly. Into 10 fF the output rose in 123.3 ps and fell in 24.1 ps.
Fix Put pseudo-NMOS where a slow rise is acceptable, or follow it with a stage that only cares about the fall.
Remember
- Pseudo-NMOS: an NMOS pull-down network and one always-on PMOS. An n-input gate needs n + 1 transistors.
- The low level is set by the ratio of pull-up to pull-down. It is not 0 V.
- Static current flows whenever the output is low.
- The fall is fast and the rise slow.
- At switch level the load is a resistive rpmos: a pull-strength 1 that a strong 0 overrides.