A transmission gate is a switch for signals, built from one NMOS and one PMOS in parallel. When it’s ON, whatever is at the input shows up at the output, whether it’s a 0 or a 1.

Ordinary CMOS gates connect their output to a supply ( or GND). A transmission gate connects one signal to another, which makes it handy for multiplexers, XOR gates and storage elements.

Intuition

Why one transistor isn’t enough

Each MOSFET type passes one logic value well and the other one poorly:

TransistorPassing a 0Passing a 1
NMOSclean 0 Vweak: about
PMOSweak: stops a threshold above 0 Vclean

An NMOS stops conducting as its source rises toward , because the gate-to-source voltage shrinks below the threshold. That means a single NMOS can’t deliver a full 1. A PMOS has the mirror-image problem with 0s.

Putting them together

Wire an NMOS and a PMOS in parallel, and drive the NMOS gate with and the PMOS gate with (the opposite):

NMOSPMOSResult
10ONONOutput follows the input:
01OFFOFFOutput is disconnected (floating)

When :

  • If , the NMOS passes it cleanly. (The PMOS is bad at this, but it doesn’t matter.)
  • If , the PMOS passes it cleanly. (The NMOS is bad at this, but it doesn’t matter.)

Whichever value comes in, one of the two transistors handles it well, so the signal gets through at full strength.

When the output isn’t tied to anything. It’s not 0, it’s just unconnected (high impedance), and something else may drive it.

Where it’s used

  • 2-to-1 multiplexer: two transmission gates driven by and . Exactly one is ON, so the output is either or . See Ch 6 for the same function built from logic gates.
  • XOR gate: two inverters and two transmission gates, which is 8 transistors total instead of 22 with AND/OR/NOT gates. One transmission gate passes when , and the other passes when .

Both come from Ch 3.

Common mistakes

  • Thinking the OFF state outputs 0. It outputs nothing (floating).
  • Driving both transistors with the same signal. They need opposite controls so both turn ON together.
  • Using a lone NMOS or PMOS and expecting a full-strength 0 and 1.