3.2.3 · D1CMOS Circuit Design

Foundations — CMOS NAND and NOR gate design

2,043 words9 min readBack to topic

Before you can read the parent note on NAND and NOR gates, you need to own every symbol it throws at you. This page builds each one from nothing — plain words first, then a picture, then why the topic can't live without it. Read top to bottom; each idea leans on the one above it.


1. Voltage, and the two magic numbers and

The subscript "" is just historical naming for the drain supply — treat it as a label, nothing more. The key picture: two horizontal rails, top and bottom, and every signal wire lives between them.

Why the topic needs this: a logic gate's whole job is to decide, for a given output wire , "do I connect you to the top rail or the bottom rail?" No rails, no logic.


2. The bar: means NOT

The parent note writes , , and . Every time you see a bar, mentally say "flip it." A bar over a whole expression means: work out the expression first, then flip the final answer.

Why the topic needs this: CMOS gates are physically inverting — the structure naturally produces . The bar is the notation for that flip.


3. AND () and OR (): the two ways to combine

(AND) (OR)
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 1

Why the topic needs this: the very functions we build are (NAND) and (NOR). You cannot read the goal of a gate without these two symbols.


4. A switch, and series vs parallel

This is the picture the entire topic rides on. A switch is a gap in a wire that is either CLOSED (current flows, call it ON) or OPEN (no current, OFF).

Why the topic needs this: this single mapping — series = AND, parallel = OR — is how logic (algebra) becomes wiring (silicon). It is the hinge of the whole chapter.


5. The transistor: a voltage-controlled switch

A transistor is a switch whose "finger" is a voltage on a control terminal called the gate. There are two flavours, and their difference is the second pillar of the topic.

Why the topic needs this: PDN and PUN are literally made of these two switch types. Get the ON-conditions right and the rest of CMOS falls out mechanically.


6. PUN, PDN, and : the two teams and the wire they fight over

Why the topic needs this: NAND and NOR are just two specific PUN/PDN pairs. Once you know "exactly one conducts," verifying a gate is just checking each input row.


7. De Morgan: why the two teams are mirror images

Worked check of the flip you'll use for NAND: Left side "AND then NOT" → series NMOS. Right side "OR of complements" → parallel PMOS. Same function, two teams, mirror wiring. ✓

Why the topic needs this: De Morgan is the proof that duality works. Without it, "swap series and parallel" would just be a lucky trick.


8. Sizing symbols: , , , ,

The last cluster of symbols appears only in the sizing discussion (why NAND beats NOR).

Why the topic needs this: these symbols turn "NAND vs NOR" from a hand-wave into a number.


Prerequisite map

Voltage rails VDD and GND

Logic 0 and 1

The bar meaning NOT

AND dot and OR plus

Switch series and parallel

NMOS and PMOS switches

PUN PDN and output Y

De Morgan duality

Sizing W mobility resistance

NAND and NOR gate design

This feeds directly into the parent topic, whose 1-input base case is the CMOS Inverter and whose general form is Complex Gates (AOI/OAI).


Equipment checklist

What does the overbar do to a value?
Flips it: , (NOT).
When is equal to 1?
Only when both and are 1 (AND is greedy).
When is equal to 1?
When at least one of , is 1 (OR is generous).
Series switches implement which logic operation, and why?
AND — current must survive the whole chain, so all must be ON.
Parallel switches implement which logic operation?
OR — any one closed branch lets current through.
When is an NMOS ON, and which clean value does it pass?
ON when gate is HIGH (1); passes a strong 0.
When is a PMOS ON, and which clean value does it pass?
ON when gate is LOW (0); passes a strong 1.
Which network holds NMOS and which holds PMOS?
PDN = NMOS (pulls to 0); PUN = PMOS (pulls to 1).
What two bad things happen if the exactly-one-conducts rule breaks?
Both ON → short-circuit ( to ); neither ON → floats.
State one De Morgan law in words.
"Break the bar, flip the operator": .
Why are PMOS the ones we worry about sizing?
Holes are slower (), so PMOS need extra width, especially in series.