Module 1: Foundations of Digital Logic · 1.2 Boolean Algebra

Algebraic Simplification

Canonical Boolean expressions contain redundant logic operations. Minimizing these expressions reduces the total gate count, decreases semiconductor area, lowers dynamic power dissipation, and shortens critical path propagation delays.

This article describes standard algebraic reduction techniques, demonstrates step-by-step simplifications, and introduces don’t-care optimization.

Algebraic Minimization Rules

Algebraic minimization identifies reducible logic patterns by applying standard Boolean identities:

  1. Adjacency (Combining Terms): $$AB + AB’ = A(B + B’) = A \cdot 1 = A$$ Two product terms that differ in only one complemented variable combine into a single term without that variable.
  2. Idempotency (Term Duplication and Elimination): $$A + A = A \qquad A \cdot A = A$$ You can eliminate identical terms. You can also duplicate a term to combine it with multiple adjacent terms.
  3. Absorption: $$A + AB = A \qquad A(A + B) = A$$ If all literals of a shorter term appear within a longer term, the longer term is redundant.
  4. Absorption Variant: $$A + A’B = A + B$$
  5. Complementation: $$A + A’ = 1 \qquad A \cdot A’ = 0$$
  6. Factoring: $$AB + AC = A(B + C)$$ Factoring extracts common literals to reduce the total number of gate inputs.

Algebraic minimization does not guarantee a globally minimal circuit. Visual and algorithmic methods (such as Karnaugh maps and Quine-McCluskey) provide systematic optimization.

Worked Simplification Examples

Example 1: Full Adjacency Reduction

Simplify $F = ABC + ABC’ + AB’C + AB’C’$.

Algebraic Expression Applied Rule
$ABC + ABC’ + AB’C + AB’C'$ Initial expression
$AB(C + C’) + AB’(C + C’)$ Factoring
$AB(1) + AB’(1)$ Complementation ($C + C’ = 1$)
$AB + AB'$ Identity
$A(B + B’)$ Factoring
$A(1) = A$ Complementation, Identity

Result: $F = A$.

Circuit Metric Canonical SOP Form Simplified Circuit
AND Gates 4 (3-input) 0
OR Gates 1 (4-input) 0
Inverters 3 0
Total Transistors Approximately 50 0 (direct conductor wire)

Example 2: Product of Sums Reduction

Simplify $F = (A + B)(A + B’)$.

Algebraic Expression Applied Rule
$(A + B)(A + B’)$ Initial expression
$A + BB'$ Second Distributive Law
$A + 0$ Complementation ($BB’ = 0$)
$A$ Identity

Result: $F = A$. This is the dual representation of $AB + AB’ = A$.

Example 3: Factoring Trade-Offs

Simplify $F = AB’C + ABC + A’BC$.

Terms $AB’C$ and $ABC$ differ only in variable $B$:

Algebraic Expression Applied Rule
$AB’C + ABC + A’BC$ Initial expression
$AC(B’ + B) + A’BC$ Factoring
$AC(1) + A’BC$ Complementation
$AC + A’BC$ Identity
$C(A + A’B)$ Factoring
$C(A + B)$ Absorption variant ($A + A’B = A + B$)
$AC + BC$ Expansion (Two-Level SOP form)

Comparison of implementation forms:

Implementation Format Expression Gate Count Logic Levels
Canonical SOP $AB’C + ABC + A’BC$ 3 AND + 1 OR 2
Two-Level SOP $AC + BC$ 2 AND + 1 OR 2
Multilevel Factored $C(A + B)$ 1 OR + 1 AND 2

Multilevel factoring reduces total literal count. However, in larger networks, factoring can add logic levels that increase critical path delay.

Term Duplication Using Consensus

When no two terms share direct single-variable adjacency, you can expand an implied consensus term.

Simplify $F = AB + A’C + BC$:

  1. Term $BC$ represents the consensus of $AB$ and $A’C$.
  2. Multiply $BC$ by $(A + A’)$: $$BC = BC(A + A’) = ABC + A’BC$$
  3. Substitute into the expression: $$F = AB + A’C + ABC + A’BC$$ $$F = AB(1 + C) + A’C(1 + B) = AB(1) + A’C(1) = AB + A’C$$

Term $BC$ is redundant and can be removed directly.

Don’t-Care Conditions

In many practical designs, specific input combinations never occur during valid operation. For example, in a Binary Coded Decimal (BCD) decoder, input states 1010 through 1111 ($10_{10}$ through $15_{10}$) are invalid.

These states are don’t-care conditions, designated by symbol $d$ or $X$:

$$F = \sum m(1, 3, 5, 7) + \sum d(8, 9, 10, 11, 12, 13, 14, 15)$$

Logic synthesis algorithms can assign output value 0 or 1 to each don’t-care state. Choosing output 1 allows adjacent minterms to merge into larger, simpler logic gates.

Systematic Optimization Methods

Manual algebraic simplification has practical limits in complex designs:

  • Manual methods do not guarantee global minimum solutions.
  • Manual derivations are susceptible to human error in expressions with four or more variables.

EDA synthesis tools use automated algorithms:

  1. Karnaugh Maps: Visual grid minimization for up to 6 variables.
  2. Quine-McCluskey Algorithm: Exact tabular algorithm that generates all prime implicants and solves a set-covering matrix.
  3. Espresso Heuristic Minimizer: Fast heuristic algorithm used in industrial EDA synthesis flows.

Practice Exercises

Exercise 1: Simplify $F = A’B’C’ + A’BC’ + AB’C’ + ABC’$.

View Solution
Algebraic Expression Applied Rule
$A’B’C’ + A’BC’ + AB’C’ + ABC'$ Initial expression
$A’C’(B’ + B) + AC’(B’ + B)$ Factoring
$A’C’(1) + AC’(1)$ Complementation
$C’(A’ + A)$ Factoring
$C’(1) = C'$ Complementation, Identity

Result: $F = C’$.

Exercise 2: Simplify $F = (A + B + C)(A + B + C’)(A + B’ + C)$.

View Solution

Combine the first two factors using the dual adjacency rule $(X + Y)(X + Y’) = X$:

$$(A + B + C)(A + B + C’) = A + B$$

Multiply by the third factor:

$$(A + B)(A + B’ + C) = A + B(B’ + C)$$

Apply the absorption variant ($B(B’ + C) = BC$):

$$F = A + BC$$

Exercise 3: Simplify $F = A’B’C + A’BC + AB’C + ABC$.

View Solution
Algebraic Expression Applied Rule
$A’B’C + A’BC + AB’C + ABC$ Initial expression
$A’C(B’ + B) + AC(B’ + B)$ Factoring
$A’C + AC$ Complementation
$C(A’ + A) = C$ Factoring, Complementation

Result: $F = C$.

← Canonical Forms: Sum of Products and Product of Sums Physical Characteristics of Digital Logic Gates →