CHAPTER 026 SECTIONS · 4 CHECKS

Boolean logic and gates

Truth tables, universal gates, De Morgan, combinational behavior, and timing delay.

Contents
  1. 1. Basic gates
  2. 2. NAND and NOR
  3. 3. De Morgan's laws
  4. 4. Truth tables as proof
  5. 5. Combinational circuits
  6. 6. Propagation delay and critical path

01

Basic gates

AND requires all inputs high; OR requires at least one; NOT inverts. XOR is high for unequal inputs and XNOR for equal inputs.

ANDA·BORA+BNOTĀNAND¬(A·B)NOR¬(A+B)XORA⊕BXNOR¬(A⊕B)BUFA
Symbols and expressions of the basic gates.

02

NAND and NOR

NAND=NOT(AND) and NOR=NOT(OR). Each is functionally complete: one gate type can build NOT, AND, and OR, and therefore any Boolean function.

AĀNOTABA·BANDABA+BOR
NOT, AND, and OR from NAND only.
AB¬(A·B)ĀB̄A·B
NAND from four NORs (Midterm 2024).

03

De Morgan's laws

NOT(A AND B)=(NOT A) OR (NOT B); NOT(A OR B)=(NOT A) AND (NOT B). Moving inversion through a gate swaps AND and OR.

AB≡AB¬(A·B)Ā + B̄
Pushing a bubble through a gate swaps AND↔OR.

04

Truth tables as proof

For two inputs list 00, 01, 10, and 11. Comparing every row is a reliable way to prove two expressions or circuits equivalent.

05

Combinational circuits

An ideal output depends only on current inputs. Feedback and memory make a circuit sequential.

06

Propagation delay and critical path

A gate does not update instantly. Worst-case delay is the sum of delays along the longest causal path—the critical path.

ABCDQ2 ns1 ns3 ns2 nsCritical path: A→NAND→OR→AND = 2+3+2 = 7 ns
A path delay is the sum of gate delays; the critical path is the longest.

SELF-CHECK

Check your understanding

When is XOR=1?

When inputs differ.

Is XNOR universal?

No, not by itself.

Name the universal gates.

NAND and NOR.

What does the critical path determine?

Worst-case propagation delay.