3.2.10 · D3CMOS Circuit Design

Worked examples — Pass-transistor logic

3,337 words15 min readBack to topic

This deep dive is the practice arena for Pass-transistor logic. The parent note told you the one central fact — nMOS passes strong 0 / weak 1, and the mirror fact for pMOS. Here we hunt down every case where that fact bites, helps, or hides: which input, which device, which rail, and what number comes out.

Before we start, a few plain-word reminders so nobody is lost from line one.

Recall Which terminal is the "source" of a pass transistor?

The source is whichever source/drain terminal is at the lower potential for an nMOS (current flows in at drain, out at source). When passing a 1 the rising output node is the source; when passing a 0 the low output node is the source. This swap is the whole reason the two cases behave differently. ::: The lower-voltage terminal; it moves depending on which way charge flows.


The scenario matrix

Every question PTL can throw at you is one cell of this grid. We cross which device with which logic value we're trying to pass, then add the degenerate / limiting / real-world cells.

Cell Situation What we expect Example
A nMOS passing 0 strong, clean 0 V Ex 1
B nMOS passing 1 weak, stops at Ex 2
C pMOS passing 1 strong, clean Ex 3
D pMOS passing 0 weak, stops at Ex 3
E Both (transmission gate) rail-to-rail, both clean Ex 4
F Degraded 1 into next inverter leakage / static power Ex 5
G Body-effect limit (worse than nominal) 1 even lower than Ex 6
H Real-world word problem (2:1 MUX datapath) pick correct input, watch level Ex 7
I Exam twist: series chain of pass transistors only ONE threshold drop, but slow Ex 8
J Zero / degenerate: gate OFF, or near node floats / cannot pass a 1 at all Ex 9

We now walk all ten cells. Grab the figures — the geometry of the shrinking budget carries the argument.


Example 1 — nMOS passing a 0 (cell A)

Forecast: Guess before reading — will it stop short of 0, like the weak-1 case does short of ? Write down your guess.

Figure — Pass-transistor logic

Read the figure first. The dashed lavender line is ; notice it sits flat at the whole way. The coral curve is sliding down to 0. The mint arrow points to where the output lands — hard against 0 V, never stalling.

  1. Identify the source. Current flows out of the output node (it's dumping charge into the 0 V input), so the output node is the higher side and the 0 V input is the source. Why this step? ON/OFF depends on , and is whichever terminal is lower — here the fixed 0 V input.
  2. Write the budget. . Why this step? This is our "how open is the valve" number — the flat dashed line in the figure.
  3. Compare to threshold. , and stays pinned at 0 the whole time, so never shrinks (the dashed line never dips toward the dotted line). Why this step? The source doesn't move (it's held at 0), so nothing eats the budget — unlike the passing-1 case.
  4. Conclusion. The channel stays strongly ON all the way down. , a perfect 0.

Verify: at the very end is , still far above → device is on → node fully discharges. Units: all volts, consistent. ✓ (This confirms parent claim: nMOS = strong 0.)


Example 2 — nMOS passing a 1 (cell B)

Forecast: Will it reach ? Guess a number.

Figure — Pass-transistor logic

Read the figure first. The coral curve is climbing, but watch the dashed lavender line: falls as the output rises. Where the dashed line touches the dotted level, the coral curve flattens — that flat ceiling, marked "weak 1 stalls at 1.4 V", is our answer, well below the mint line.

  1. Identify the source. Charge flows into the output node, so the output is now the lower side — the output node is the source. Why this step? The source has swapped compared to Example 1; that swap is the entire drama.
  2. Write the shrinking budget. As the output rises, rises, so falls (the descending dashed line). Why this step? The very thing we're building (a high output) eats into the voltage that keeps the switch open.
  3. Find the cut-off point. Conduction stops when : . Why this step? Below there is no channel, so charging simply halts (where the two dashed/dotted lines meet in the figure).
  4. Conclusion. The 1 is weak: it stalls at , a full below the rail.

Verify: At , → exactly at cut-off, consistent. Any higher and (impossible to reach). ✓


Example 3 — pMOS: strong 1, weak 0 (cells C & D)

Forecast: pMOS is the mirror of nMOS. Which value comes out clean, which stalls?

  1. pMOS ON condition. A pMOS conducts while — recall from the definitions that is source-minus-gate, the reverse of the nMOS . Its source is the higher-voltage source/drain terminal. Why this step? pMOS is the p-type mirror: it likes to pull up, and its source is the high side.
  2. (a) Passing a 1. As output rises toward , the output is the high side = source, so , gate : . This grows as rises, so the switch stays strongly ON right up to . Clean 1. Why this step? Rising output increases the pMOS budget — opposite of the nMOS case.
  3. (b) Passing a 0. Now the input () is the source's low side; the output discharging becomes... let's track it. When output has fallen to some , the higher terminal is the output → source, , . Conduction stops when : . Weak 0 — stalls at . Why this step? As output falls, the pMOS budget shrinks; below it shuts off short of 0.

Verify:

  • (a) clean 1 . ✓
  • (b) weak 0 . ✓ Mirror of nMOS (; here ). Both stall one threshold from the bad rail.

Example 4 — Transmission gate: rail-to-rail (cell E)

Forecast: Which transistor rescues which half?

Figure — Pass-transistor logic

Read the figure first. The horizontal axis is the output node voltage from 0 to V. The mint band shows where the nMOS is strong (0 up to V); the lavender band shows where the pMOS is strong ( up to V). Notice they overlap in the middle and, crucially, together cover the entire range — the coral arrow marks the overlap where both conduct.

  1. Passing a 1. From Ex 2 the nMOS stalls at (right edge of the mint band) — but from Ex 3(a) the pMOS is still strongly ON above (the lavender band continues to , its budget keeps growing). So the pMOS carries the output the rest of the way to . Why this step? Whenever the nMOS gives up, the pMOS is fresh — they hand off at V, where the two bands overlap.
  2. Passing a 0. From Ex 1 the nMOS is strong to (the mint band reaches the left edge). The pMOS quit at (left edge of lavender band), but the nMOS takes it down cleanly. Why this step? Symmetric hand-off: nMOS finishes the low half.
  3. Conclusion. Together: full-swing to (rail-to-rail), at the cost of 2 transistors + a complemented control.

Verify: High output ✓; low output ✓. Each rail is served by its strong device.


Example 5 — Degraded 1 into a CMOS inverter (cell F)

Forecast: We want the pMOS fully off (so no leakage). Guess: comfortably off, or barely off?

  1. pMOS off condition. The inverter's pMOS turns off when its . Why this step? For a clean logic 1 in, the pull-up pMOS must be shut so the output goes cleanly to 0.
  2. Plug in. . Why this step? This is exactly the threshold — the pMOS is right on the boundary.
  3. Interpret. At the pMOS is barely off — sub-threshold current still trickles. This is static leakage: wasted power with no switching. Why this step? "Off at threshold" is not "off with margin"; real transistors leak here.
  4. Fix. Restore the level (transmission gate or feedback pMOS) so the inverter sees a full , giving → truly off.

Verify: margin — zero, i.e. borderline leaking. A restored input gives → margin , safely off. ✓


Example 6 — Body effect makes it worse (cell G)

Here we finally drop the "ignore body effect" assumption. First, the physics behind the extra symbols.

Forecast: We know the no-body answer is . Body effect raises , so the answer should be lower. Guess a number.

  1. Body-effect threshold. . Why this step? When the source (our output) sits high above the body, the channel needs more gate push — grows above .
  2. First estimate of . Use the no-body answer as . Then . Why this step? We plug a good starting guess to see how much inflates.
  3. Numbers. , ; difference ; ; so . Why this step? Threshold jumped from () to .
  4. New weak 1. . Why this step? A bigger threshold means the switch shuts even earlier — the 1 is now only , well below .

Verify: ; . ✓ Body effect confirmed to worsen the 1. (A self-consistent solve with would land slightly higher than ; one iteration already shows the direction and rough size.)


Example 7 — Real-world: 2:1 MUX datapath (cell H)

Forecast: selects . So should be a 1 — but how good a 1?

  1. Which path is ON? → the -path nMOS (gate ) is ON; the -path (gate ) is OFF. Why this step? Exactly one select line is high, steering exactly one input to . That's the whole point of the MUX.
  2. Value passed. The ON nMOS passes , a 1 → from Ex 2 it degrades to . Why this step? Passing a 1 through a lone nMOS always costs a threshold.
  3. Drive the next stage? From Ex 5, leaves the following inverter's pMOS at threshold → leakage. Why this step? In a real datapath, feeds another gate; the weak 1 propagates the problem.
  4. Fix in context. Replace each nMOS with a transmission gate, or add a restoring pMOS after 's inverter → becomes a full .

Verify: With : logically ✓; electrically (degraded) ✓. Transistor count for the steering core ✓.


Example 8 — Exam twist: a series chain of pass transistors (cell I)

Forecast: Does each series device really cost its own ?

  1. Where does cut-off happen? Only the last node in the chain rises to become a floating high output; the intermediate nodes are pulled by the same source and settle. The final node stops when its driving transistor hits . Why this step? A threshold drop is charged once, at the node that can no longer be pushed — not once per device.
  2. Correct answer (ignoring body effect). The far node reaches , a single threshold drop, not three. Why this step? Series nMOS don't stack thresholds for a DC-passed 1; they stack resistance, not voltage loss.
  3. The real cost. What series does worsen: speed. The devices' channel resistances add () and node capacitances give an RC delay that grows roughly with the square of chain length. Why this step? PTL has no gain/drive; long chains are slow even when the final voltage is fine.

Conclusion: The student is wrong — the far end sits at (one threshold drop), not . Series length costs delay, not extra voltage.

Verify: Correct far-end voltage (one drop), not the student's . So → the claim fails. ✓


Example 9 — Zero / degenerate cases (cell J)

Forecast: (a) does the output track the input or hold? (b) how high can the 1 get?

  1. (a) Gate OFF. With the gate at 0, : the channel never forms. Why this step? No gate push → no channel → the switch is open.
  2. (a) Result. No connection: the output node is left floating at whatever charge it already had (a high-impedance / "Z" state). It does not follow the input. Why this step? An OFF pass transistor isolates — exactly how a MUX de-selects a path.
  3. (b) Low . Weak 1 . Why this step? The threshold drop is a fixed absolute number; as shrinks it eats a bigger fraction.
  4. (b) Result. is nowhere near a usable logic 1 — the passed "1" is basically indistinguishable from a 0. This is why deep-submicron / low-voltage designs abandon bare nMOS pass logic and use transmission gates or restoration. In the extreme where , the weak 1 : an nMOS can pass no usable 1 at all. Why this step? The weak-1 problem goes from annoying to fatal at low .

Verify: (a) gate OFF → → floating (no defined output, logically Z) ✓. (b) ✓, far below any 1-threshold → unusable; and gives weak 1 ✓.


Recall Which cell was your weakest?

If you fumbled Ex 8 (series chain), reread: series nMOS stack resistance, not threshold drops — only one is lost. ::: Series pass transistors cost delay (RC), not extra voltage drop.


Connections