3 Combinational Logic Simplification

Digital Logic · Unit 3

Combinational Logic Simplification

Exam-focused notes for Combinational Logic Simplification (Digital Logic, BIT103): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.

Combinational Logic Simplification in short

Simplifying a Boolean function means finding the cheapest expression with the fewest terms and variables. Smaller expressions give circuits with fewer gates, lower cost and less delay. This chapter covers the main tools: canonical forms, the Karnaugh map and the tabular method.

Combinational Logic Simplification: notes

Minterms and maxterms representation

A minterm is an AND (product) term that contains every variable once, either complemented or not. It equals 1 for exactly one input combination. A maxterm is an OR (sum) term that contains every variable once. It equals 0 for exactly one input combination.

For three variables, a variable is written plain if its bit is 1 in a minterm and complemented if its bit is 0. In a maxterm it is the opposite.

RowA B CMintermMaxterm
00 0 0$m_0 = A'B'C'$$M_0 = A+B+C$
10 0 1$m_1 = A'B'C$$M_1 = A+B+C'$
20 1 0$m_2 = A'BC'$$M_2 = A+B'+C$
30 1 1$m_3 = A'BC$$M_3 = A+B'+C'$
41 0 0$m_4 = AB'C'$$M_4 = A'+B+C$
51 0 1$m_5 = AB'C$$M_5 = A'+B+C'$
61 1 0$m_6 = ABC'$$M_6 = A'+B'+C$
71 1 1$m_7 = ABC$$M_7 = A'+B'+C'$

Each maxterm is the complement of the minterm with the same number: $M_i = m_i'$.

A function written as a sum of minterms is in canonical sum of products form, written $F = \Sigma m(\dots)$. A function written as a product of maxterms is in canonical product of sums form, written $F = \Pi M(\dots)$. To go from one to the other, use the row numbers that are missing. If $F(A,B,C) = \Sigma m(1,4,5,7)$ then $F = \Pi M(0,2,3,6)$.

To expand a non-canonical term, multiply by $(X + X')$ for each missing variable. For example, with three variables $F = A + BC$:

$$\begin{aligned} A &= A(B + B')(C + C') = ABC + ABC' + AB'C + AB'C' \ BC &= BC(A + A') = ABC + A'BC \end{aligned}$$

So $F = \Sigma m(3, 4, 5, 6, 7)$.

What this unit covers

  • Karnaugh map simplification
  • Sum of products and product of sums
  • Minterms and maxterms representation
  • Don't care conditions in K-maps
  • Boolean function minimization techniques

Karnaugh map simplification

2081 · 5 marks

Simplify (using K-map): F=(A+B+C+D′)(A+B+C′+D)(A+B′+C′+D′)(A+B′+C′+D)(A′+B′+C′+D)(A′+B+C+D′)(A′+B+C′+D)F = (A + B + C + D')(A + B + C' + D)(A + B' + C' + D')(A + B' + C' + D)(A' + B' + C' + D)(A' + B + C + D')(A' + B + C' + D)F=(A+B+C+D′)(A+B+C′+D)(A+B′+C′+D′)(A+B′+C′+D)(A′+B′+C′+D)(A′+B+C+D′)(A′+B+C′+D)[5]

Show solved answer

K-Map Simplification of POS Expression

Given

$$F = (A+B+C+D')(A+B+C'+D)(A+B'+C'+D')(A+B'+C'+D)(A'+B'+C'+D)(A'+B+C+D')(A'+B+C'+D)$$

For a maxterm, uncomplemented variable = 0, complemented variable = 1.

Sum TermABCDMaxterm
$A+B+C+D'$0001$M_1$
$A+B+C'+D$0010$M_2$
$A+B'+C'+D'$0111$M_7$
$A+B'+C'+D$0110$M_6$
$A'+B'+C'+D$1110$M_{14}$
$A'+B+C+D'$1001$M_9$
$A'+B+C'+D$1010$M_{10}$

$$F = \Pi M(1, 2, 6, 7, 9, 10, 14)$$

Step 2: K-Map (place 0 at maxterm positions)

           CD
AB      00   01   11   10
 00  |  1  |  0  |  1  |  0  |     (m0=1, m1=0, m3=1, m2=0)
 01  |  1  |  1  |  0  |  0  |     (m4=1, m5=1, m7=0, m6=0)
 11  |  1  |  1  |  1  |  0  |     (m12=1,m13=1,m15=1,m14=0)
 10  |  1  |  0  |  1  |  0  |     (m8=1, m9=0, m11=1,m10=0)

The zeros are at cells 1, 2, 6, 7, 9, 10, 14.

Step 3: Group the 0s (for POS)

List of zero cells:

CellABCD
10001
20010
60110
70111
91001
101010
141110

Group A: {1, 9} (pair): B=0, C=0, D=1; A varies. For a sum term (0→variable, 1→complement): $B + C + D'$

Group B: {2, 6, 10, 14} (quad): C=1, D=0; A and B vary. Sum term: $C' + D$

Group C: {6, 7} (pair): A=0, B=1, C=1; D varies. Sum term: $A + B' + C'$

Check coverage:

  • Cell 1 → A
  • Cell 9 → A
  • Cell 2 → B
  • Cell 6 → B, C
  • Cell 10 → B
  • Cell 14 → B
  • Cell 7 → C

All seven zeros covered. Each group is essential:

  • {1,9} is the only group covering cell 1 and 9.
  • {6,7} is the only group covering cell 7.
  • {2,6,10,14} covers 2, 10, 14 (needed for 2 and 10 which no other prime implicant covers as a larger group).

Final Simplified POS

$$\boxed{F = (B + C + D'),(C' + D),(A + B' + C')}$$

Open this answer on its own page →

2080 · 5 marks

Simplify: F = X Y Z' + X Z' + X' Y + X'' Y Z' using K-Map in both SOP and POS. [5]

Function of three variables $X, Y, Z$: $$F = XYZ' + XZ' + X'Y + X''YZ'$$ Note $X'' = X$ (double complement), so: $$F = XYZ' + XZ' + X'Y + XYZ'$$ Expand each term over minterms $m(X,Y,Z)$: - $XYZ'$: $X=1,Y=1,Z=0 \Rightarrow m6$ - $XZ'$: $X=1,Z=0 \Rightarrow$ ($Y=0$) $m4$, ($Y=1$) $m6$ - $X'Y$:

Open this answer on its own page →

Minterms and maxterms representation

2077 · 5 marks

Express the given function in sum of minterms. F = y'z + wxy' + wzx' + w'x'z' [5]

Variables (4): $w, x, y, z$ in order (MSB = $w$, LSB = $z$). $$F = y'z + wxy' + wzx' + w'x'z'$$ Total possible minterms: $2^4 = 16$ ($m0$ to $m{15}$). Use $A = A(B + B') = AB + AB'$ for missing variables. $$y'z = (w+w')(x+x')y'z = wxy'z + wx'y'z + w'xy'z + w'x'y'z$$ Term w x y z Decimal ---------...

Open this answer on its own page →

2081.2 · 10 marks

Express the Boolean Function F=AB+B′CF = AB + B'CF=AB+B′C to sum of max terms with required truth tables.List two uses of sum of max terms.[8+2]

Show solved answer

Boolean Function F = AB + B'C: Sum of Maxterms

Given

  • Boolean function: $F = AB + B'C$
  • Variables: $A, B, C$ (3 variables, so $2^3 = 8$ combinations)
  • Required: express as product (sum) of maxterms, with truth table; list two uses.

Solution

Truth Table

RowABCABB'CFType
0000000M₀
1001011m₁
2010000M₂
3011000M₃
4100000M₄
5101011m₅
6110101m₆
7111101m₇

Check of B'C: when B=0, B'=1, so B'C = C. Rows 1 (C=1) and 5 (C=1) give 1. Rows where AB=1 are 6 and 7. All consistent.

Identifying Maxterms

Maxterms correspond to rows where F = 0: rows 0, 2, 3, 4.

Rule: variable appears uncomplemented if its bit = 0, complemented if its bit = 1.

RowABCMaxtermSymbol
0000$(A+B+C)$M₀
2010$(A+B'+C)$M₂
3011$(A+B'+C')$M₃
4100$(A'+B+C)$M₄

Product of Maxterms Form

$$F = \prod M(0, 2, 3, 4)$$

$$\boxed{F = (A+B+C)(A+B'+C)(A+B'+C')(A'+B+C)}$$

Verification

Minterms (F = 1) at rows 1, 5, 6, 7: $$F = \sum m(1,5,6,7)$$ The two sets ${0,2,3,4}$ and ${1,5,6,7}$ are complementary and together cover all 8 rows. Correct.

Two Uses of Sum (Product) of Maxterms

  1. OR-AND (two-level) circuit implementation: The POS canonical form maps directly to an OR-AND gate structure, which is economical when there are fewer 0-outputs than 1-outputs.

  2. Canonical/standard reference form: It provides a unique standardized representation of a function, useful as a starting point for minimization (K-map, Quine-McCluskey) and for comparing whether two Boolean expressions are equivalent.

Open this answer on its own page →

0 · 5 marks

Given is a logic (switching) function F1 in the decimal list sum-of-minterms representation. $F_1(A,B,C,D)=\Sigma(0,2,3,5,7)$, $d(A,B,C,D)=\Sigma(8,10,13,15)$ [5]

  • Minterms (=1): 0, 2, 3, 5, 7 - Don't cares (=X): 8, 10, 13, 15 - Zeros: 1, 4, 6, 9, 11, 12, 14 Binary of each cell (A B C D), AB rows / CD columns: AB\CD 00 01 11 10 ----------------------- 00 1 (m0) 0 (m1) 1 (m3) 1 (m2) 01 0 (m4) 1 (m5) 1 (m7) 0 (m6) 11 0 (m12) X (m13) X (m15) 0 (m14) 10 X (m8...
Open this answer on its own page →

Don't care conditions in K-maps

2077 · 5 marks

Simplify the Boolean function using don't care conditions d in sum of products form. and product of sums form $F(A, B, C, D) = \pi(1, 3, 7, 8, 12) \text{ and } \pi d(5, 10, 13, 14)$ [5]

The function is given in Product of Sums (POS) form (uses $\pi$): - Maxterms (F = 0): $\pi(1, 3, 7, 8, 12)$ - Don't care terms: $d(5, 10, 13, 14)$ - Variables: $A, B, C, D$ (4 variables, cells 0-15) Minterms (F = 1) = remaining cells = $0, 2, 4, 6, 9, 11, 15$ ABCD F ABCD F -----------------------...

Open this answer on its own page →

2081.2 · 5 marks

Simplify the Boolean Function $F$ in sum of products using the don't-care conditions $d$. $F = B'C'D' + BCD' + ABCD'$, $d = B'CD' + A'BC'D$. [5]

Function (SOP): $$F = B'C'D' + BCD' + ABCD'$$ Don't-care conditions: $$d = B'CD' + A'BC'D$$ Variables: A, B, C, D (4 variables → minterms 0 to 15) --- Order of bits: A B C D. - $B'C'D'$ → B=0, C=0, D=0, A free → A=0: 0000 = m₀, A=1: 1000 = m₈ - $BCD'$ → B=1, C=1, D=0, A free → A=0: 0110 = m₆, A=1...

Open this answer on its own page →

0 · 5 marks

A logic circuit implements the following Boolean function. F=A'C+AC'D It is found that the required input combination A=C=1 can never occur. Using K-map and proper don't care condition find simpler expression for F and implement it using not gate only. [5]

Function: $F = A'C + AC'D$ Variables: The function contains A, C, D. The term $A'C$ has no B or D dependence, $AC'D$ has no B dependence. So variables are A, C, D only. Actually the presence of D means we should check variable count. The literals used are A, C, D. There is no B. Standard variable...

Open this answer on its own page →