3.1.15 · D3Boolean Algebra & Logic Gates

Worked examples — Logic gate propagation delay

3,349 words15 min readBack to topic

Before we start, every symbol we use — earned once, then reused:


The picture first: straw, cup, and the rising curve

Before any algebra, look at what is physically happening. The switching transistor is a resistor (the thin straw); the output node is a capacitor (the cup); the supply is the water tap. When the gate flips, charge must flow through the straw to fill the cup — and that takes time.

Figure — Logic gate propagation delay

The left panel is the actual circuit ("straw and cup"): current flows from through the red resistor onto the blue capacitor , whose voltage is the gate output. The right panel is the story over time — trace the yellow curve rising from and easing toward the dotted line. The output never jumps; it climbs an exponential. Where the yellow curve crosses the blue 50% line (the pink dot) is the moment we call the delay: . Keep this picture in your head — every example below is just this curve read at a different height or a different and .


The scenario matrix

Every propagation-delay question is one of the cells below. The flowchart underneath the table is the visual map: follow the questions ("Single edge? Chain? Glitch?") to land on the right cell before you compute. Each numbered example is tagged with the cell(s) it covers.

Cell Case class What makes it special Example
A L→H rising edge () output charges up toward Ex 1
B H→L falling edge () output discharges down toward Ex 2
C Average from unequal rise and fall differ (PMOS vs NMOS) Ex 2
D Zero / degenerate input , , or → limiting behaviour Ex 3
E Large-load limit (fan-out) delay scales linearly with load Ex 4
F Chained gates — critical path & delays ADD; pick the longest path Ex 5
G Static hazard timing window unequal path delays → glitch width Ex 6
H Real-world word problem wire length → capacitance → delay Ex 7
I Exam twist (measure at a non-50% point) re-derive the factor for any threshold Ex 8
Figure — Logic gate propagation delay

How to read the flowchart (s04), node by node:

  • START (top box): ask "one gate, or a chain of gates?" — this first fork splits the whole page.
  • Follow the "one" arrow (left) to the blue box "ONE GATE: which edge?" From there three leaves branch out:
    • the yellow "rising → A" leaf → Ex 1 (charging up),
    • the pink "falling → B,C" leaf → Ex 2 (discharging down, plus the average),
    • the blue "degenerate → D" leaf → Ex 3 (, , or ),
    • and hanging below the rising leaf, "big load → E" → Ex 4 (fan-out scaling).
  • Follow the "chain" arrow (right) to the blue box "CHAIN: total or glitch?" Two leaves:
    • yellow "total → F" → Ex 5 (critical path and ),
    • pink "glitch → G" → Ex 6 (static hazard).
  • The bottom-right blue box "wire / threshold → H,I" is where you apply the machinery to a real-world wire (Ex 7) or an exam twist about a non-50% threshold (Ex 8).

So the rule is: walk the arrows, land on a coloured leaf, and its letter is your matrix cell.


The worked examples

Ex 1 — Rising edge (cell A)


Ex 2 — Falling edge and the average (cells B, C)

The figure shows both edges on one time axis: the blue rise (, slower) and the pink fall (, faster) each crossing the 50% line at their own delay.

Figure — Logic gate propagation delay

Ex 3 — Degenerate inputs: , , and (cell D)


Ex 4 — Large-load / fan-out scaling (cell E)


Ex 5 — Critical path and (cell F)

Recall Where to read more

The full treatment of picking the slowest path and clocking a real circuit lives in Critical path and clock frequency. In one line: the critical path is the longest sum of gate delays between two registers, and — exactly what Step 3 computed.


Ex 6 — Static hazard glitch window (cell G)

The timeline figure stacks (yellow, rising at ), (blue, falling late at ) and the resulting glitch on (pink, the shaded false pulse).

Figure — Logic gate propagation delay
Recall Where to read more

Whether a glitch is a static or dynamic hazard, and how to remove it with a redundant term, is covered in Static and dynamic hazards. In one line: a static-1 hazard is a momentary where the output should stay (and static-0 the reverse); our is the classic example of a delay-caused false pulse.


Ex 7 — Real-world word problem: wire length (cell H)


Ex 8 — Exam twist: measure at a non-50% threshold (cell I)


Active recall

Recall Cover the answers, then check

Which matrix cell is each? A rising edge gives — cell? ::: A when or , and when — cell? ::: D (degenerate) Delay per added fan-out gate — cell? ::: E (large load) Longest-total-delay path sets — cell? ::: F (critical path) Glitch width equals the arrival-time mismatch — cell? ::: G (static hazard) To reach fraction , factor is — cell? ::: I (non-50% twist)

Connections