Intuition The one core idea
A CMOS gate is a wire whose two ends fight over one output : an upper team of switches tries to connect that output to the "always-high" supply, a lower team tries to connect it to the "always-low" ground — and the whole art is arranging the switches so exactly one team ever wins at a time . Once you can read a transistor as a voltage-controlled switch and a supply rail as a fixed voltage , every rule in this topic is just careful bookkeeping of which switches are closed.
We must earn every symbol the parent note throws at you. We build them in strict order — each one leans only on the ones before it — and we do not use the words "pull-up network" or "pull-down network" as technical objects until §8, where we define them from the parts already built.
V
Voltage is a number telling you how much electrical push exists at a point, measured relative to a chosen zero. Its unit is the volt (V ). When we speak of the voltage on the gate's output wire we call it V o u t .
Think of voltage as height of water in a landscape . A high place (high voltage) wants to send water downhill to a low place (low voltage). Nothing flows between two points at the same height. That "wanting to flow" is exactly what electricity does.
Why the topic needs it: a logic gate must move its output voltage V o u t to one of two clearly different heights — one we call "logic 1", one we call "logic 0". Everything else exists to control V o u t .
V D D and ground
V D D is a fixed high voltage wired across the whole chip — the "top of the hill", the always-full reservoir.
Ground is the fixed zero voltage — the "floor", the drain everything empties into. Throughout this note we simply write ground as 0 V (no special symbol needed).
Two horizontal lines drawn across your page: the top line is V D D (say 1 V ), the bottom line is 0 V . The output wire lives between these two lines and gets yanked toward one or the other; its height is V o u t .
Why the topic needs it: "pull up " will mean "connect V o u t to the V D D line"; "pull down " will mean "connect V o u t to the 0 V line". The two rails ARE up and down.
Worked example Read the first figure
In the figure below, notice three things: (1) the pale-yellow line at the very top is the fixed rail V D D ; (2) the blue line at the very bottom is fixed 0 V ; (3) the pink dot in the middle is the output wire carrying V o u t , with a yellow arrow trying to drag it up to V D D and a blue arrow trying to drag it down to 0 V . Right now these are just arrows — §8 names the machinery behind each.
A logic 1 is any V o u t close enough to V D D ; a logic 0 is any V o u t close enough to 0 V . We agree on these meanings so we can do maths with switches.
Intuition Rail-to-rail vs degraded
A clean ( rail-to-rail ) output sits exactly on a rail: 1 = V D D , 0 = 0 V . A degraded output falls short — a "1" that only reaches partway up the hill, or a "0" that never quite reaches the floor. Degraded levels are dangerous because the next gate may misread them.
Why the topic needs it: the entire justification for using two kinds of transistor is to keep both levels clean instead of degraded.
The parent note names two devices — NMOS and PMOS . Let us define a transistor as gently as possible.
Picture a door (source ↔ drain) with a keypad (gate). The keypad doesn't let anyone through itself — it just unlocks or locks the door based on the voltage you present.
Worked example Read the second figure
Look for the pink dots (source and drain — the two ends of the door) and the yellow box on the stalk above (the gate keypad). The key lesson to notice: the blue arrow points into the gap in the door — the gate voltage alone decides whether that gap is bridged, yet no current flows into the gate itself .
V GS and V S G
V GS means "voltage at the G ate minus voltage at the S ource" — the push across the control knob . V S G is the same subtraction the other way: source minus gate.
V GS = V G − V S , V S G = V S − V G
difference , not just the gate voltage?
A switch doesn't care about absolute height — it cares whether the gate is higher or lower than the terminal it controls . The same 1 V on a gate can turn a switch fully on or fully off depending on where the source sits. That is why we always compare gate to source .
Why two versions (V GS and V S G )? Because the two transistor types turn on for opposite comparisons — one wants the gate above its source, the other wants the gate below. We need both subtractions ready.
Definition Absolute value
∣ x ∣
∣ x ∣ means "throw away the sign of x ": ∣ − 0.4 ∣ = 0.4 , ∣0.4∣ = 0.4 . We use it so a negative threshold can be compared against a positive push.
The threshold is a step you must climb before the door unlocks . Below the step: door stays shut (transistor OFF). Above it: door opens (ON). NMOS and PMOS just have their steps facing opposite directions. See Threshold Voltage and Body Effect for how this step can shift.
Common mistake Both switches degrade — one degrades
1, the other degrades 0
NMOS degrades a 1: as an NMOS passes a high voltage, its source rises until V GS shrinks down to V t n ; at that instant the switch shuts itself off, stranding V o u t at V D D − V t n instead of V D D .
PMOS degrades a 0 (the symmetric dual): as a PMOS passes a low voltage, its source falls until V S G shrinks to ∣ V tp ∣ ; the switch cuts off, stranding V o u t at ∣ V tp ∣ instead of 0 V .
The moral: each transistor is only good at passing the level it cannot degrade — NMOS passes a clean 0, PMOS passes a clean 1. This single fact forces the up/down arrangement in §8.
The figure below plots the NMOS case; the PMOS case is its mirror image (a rising floor at ∣ V tp ∣ instead of a falling ceiling at V D D − V t n ).
Definition Series vs parallel
Series: switches placed one after another in a single path. Current gets through only if every switch in the chain is closed.
Parallel: switches placed side by side , each its own path. Current gets through if any one switch is closed.
Series = a corridor with several locked doors: you need all keys. Parallel = a room with several separate doors: you need any one key.
This is not merely an analogy — the Boolean meaning is forced by one physical fact: a switch has no partial state. It is either fully closed (call it 1) or fully open (0); there is no "half-open". Let c 1 , c 2 be the closed/open state of two switches. Then:
Worked example Read the fourth figure
On the left ("series") the two blue switch-boxes sit end-to-end on one wire — trace the single path with your finger and see that a break at either box stops all current, so you need both : that is AND. On the right ("parallel") the two pink boxes sit on separate rungs sharing the same two endpoints — either rung alone carries current: that is OR. This is the parent's SAPO rule (S eries=A ND, P arallel=O R).
Now, and only now, we name the two teams — and we derive the golden rule instead of asserting it.
Definition Pull-up and pull-down networks (built from §4–§7)
Pull-Up Network (PUN): a mesh of PMOS switches wired between the V D D rail and the output wire. Since PMOS passes a clean 1 (§6), when this mesh conducts it drives V o u t up to V D D .
Pull-Down Network (PDN): a mesh of NMOS switches wired between the output wire and 0 V . Since NMOS passes a clean 0, when it conducts it drives V o u t down to 0 V .
Definition Conduction variables
g P D N , g P U N and the output Y
g P U N = 1 means "the PUN forms a closed path from V D D to the output".
g P D N = 1 means "the PDN forms a closed path from the output to 0 V ".
Y is the output as a Boolean symbol (1 or 0). It is the logic-level reading of the physical voltage V o u t : Y = 1 when V o u t sits at a clean 1, Y = 0 when at a clean 0. Keep them distinct — V o u t is a real voltage on a wire; Y is the digit we read off it.
Now derive the rule by exhausting all four possible team states:
Because g P D N and g P U N are built from series/parallel switches, and series/parallel are AND/OR (§7), forcing them to be complements is exactly De Morgan's Theorem :
A ⋅ B = A + B , A + B = A ⋅ B
Swapping series ↔ parallel between the PDN and PUN is applying the bar — which is why the dual construction in the parent note automatically satisfies g P D N = g P U N . See it in action in CMOS Inverter and NAND and NOR gates (and the related device style Pass Transistor Logic ).
Intuition Why the golden rule kills static power
A steady path from V D D to 0 V needs the PUN and PDN conducting at once (row 1 of the table). But g P D N = g P U N forbids that. So in steady state there is no path ⇒ (ideally) no static power . This is the reward over old resistor-load NMOS logic — see Static vs Dynamic Power .
Common mistake The complementary edge-case: short-circuit current
during switching
The trap: believing "complementary ⇒ never any V D D -to-ground current, ever."
The reality: while an input is sliding from 0 to 1, there is a brief window where the incoming device has already turned on before the outgoing one fully turns off — so momentarily both networks conduct , and a short pulse of current flows V D D → 0 V . This is short-circuit (dynamic) current , part of dynamic power.
Why it's small, not zero: it only lasts during the input transition, not in steady state, so fast edges keep it tiny. Full treatment lives in Static vs Dynamic Power .
Cover the right side and answer each before moving to the next child page.
What does voltage measure, and what is V o u t ? Voltage is electrical "push" (height) in volts; V o u t is the voltage on the gate's output wire.
What are the two fixed rails in a CMOS gate? V D D (fixed high) and ground 0 V (fixed low).
What is a "rail-to-rail" (clean) logic level vs a degraded one? Clean sits exactly on a rail (V D D or 0 V ); degraded falls short and risks misreading.
What are a transistor's three terminals and what does the gate do? Gate (control knob, draws no current), source and drain (the switch contact); gate voltage opens/closes it.
What does V GS mean and why a difference? V G − V S ; a switch reacts to gate relative to its source, not absolute height.
When does an NMOS turn ON? A PMOS? NMOS when V GS > V t n ; PMOS when V S G > ∣ V tp ∣ .
Which level does NMOS degrade, and which does PMOS degrade? NMOS degrades a 1 (caps at V D D − V t n ); PMOS degrades a 0 (caps at ∣ V tp ∣ ).
Series switches implement which Boolean op? Parallel? And why is it forced? Series = AND, parallel = OR; because a switch has no partial state, "conducting?" equals c 1 ⋅ c 2 (series) or c 1 + c 2 (parallel).
What are the PUN and PDN made of, and to which rail does each connect? PUN of PMOS to V D D ; PDN of NMOS to 0 V .
Why must g P D N = g P U N ? Both-on shorts the rails; both-off floats the output; only the two complementary rows give a clean, defined level.
How does the Boolean Y relate to the physical V o u t ? Y is the logic digit read off V o u t : Y = 1 when V o u t is a clean 1, Y = 0 when a clean 0.
Why is there no static power in a correct static CMOS gate? The complementary rule forbids a steady V D D -to-0 V path.
When does current still flow from V D D to ground, despite complementarity? Briefly during an input transition — short-circuit (dynamic) current while both networks momentarily conduct.