Docsity

Simplification And Minimization Of Boolean Functions, Study notes of Logic

Toggle sidebar
bg1
24
Simplification And Minimization Of Boolean Functions
1. Simplification Of Boolean Expressions Using Algebraic
When a Boolean expression is implemented with logic gates, each literal in the function is
designated as input to the gate. Minimization of the number of literals and the number of terms leads to
less complex circuits as well as less number of gates, which should be a designer’s aim.
There are several methods to minimize the Boolean function. Here, simplification or minimization of
complex algebraic expressions will be shown with the help of postulates and theorems of Boolean algebra.
This minimization procedure is not unique because it lacks specific rules to predict the succeeding step in
the manipulative process
Example 1. Simplify the Boolean function F=AB+ BC + B′C.
Solution. F = AB + BC + B′C
= AB + C(B + B′)
= AB + C
Example 2. Simplify the Boolean function F= A + A′B.
Solution. F = A+ A′B
= (A + A′) (A + B)
= A + B
Example 3. Simplify the Boolean function F= A′B′C + A′BC + AB′.
Solution. F = A′B′C + A′BC + AB′
= A′C (B′+B) + AB′
= A′C + AB′
Example 4. Simplify the Boolean function F = AB + (AC)′ + AB′C(AB + C).
Solution. F = AB + (AC)′ + AB′C(AB + C)
= AB + A′ + C′+ AB′C.AB + AB′C.C
= AB + A′ + C′ + 0 + AB′C (B.B′ = 0 and C.C = C)
= ABC + ABC′ + A′ + C′ + AB′C (AB = AB(C + C′) = ABC + ABC′)
= AC(B + B′) + C′(AB + 1) + A′
= AC + C′+A′ (B + B′ = 1 and AB + 1 = 1)
= AC + (AC)′ = 1
Lec. 5
College of Information Technology / Software Department
Logic Design / First Class / 2018-2019
pf3
pf4
pf5

Partial preview of the text

Download Simplification And Minimization Of Boolean Functions and more Study notes Logic in PDF only on Docsity!

Simplification And Minimization Of Boolean Functions

1. Simplification Of Boolean Expressions Using Algebraic

When a Boolean expression is implemented with logic gates, each literal in the function is designated as input to the gate. Minimization of the number of literals and the number of terms leads to less complex circuits as well as less number of gates, which should be a designer’s aim.

There are several methods to minimize the Boolean function. Here, simplification or minimization of complex algebraic expressions will be shown with the help of postulates and theorems of Boolean algebra. This minimization procedure is not unique because it lacks specific rules to predict the succeeding step in the manipulative process

Example 1. Simplify the Boolean function F=AB+ BC + B ′ C. Solution. F = AB + BC + B′C = AB + C(B + B′) = AB + C

Example 2. Simplify the Boolean function F= A + A′B. Solution. F = A+ A′B = (A + A′) (A + B) = A + B

Example 3. Simplify the Boolean function F= A′B′C + A′BC + AB′. Solution. F = A′B′C + A′BC + AB′ = A′C (B′+B) + AB′ = A′C + AB′

Example 4. Simplify the Boolean function F = AB + (AC)′ + AB′C(AB + C).

Solution. F = AB + (AC)′ + AB′C(AB + C) = AB + A′ + C′+ AB′C.AB + AB′C.C = AB + A′ + C′ + 0 + AB′C (B.B′ = 0 and C.C = C) = ABC + ABC′ + A′ + C′ + AB′C (AB = AB(C + C′) = ABC + ABC′) = AC(B + B′) + C′(AB + 1) + A′ = AC + C′+A′ (B + B′ = 1 and AB + 1 = 1) = AC + (AC)′ = 1

Lec. 5 College of Information Technology / Software Department

Logic Design / First Class / 2018- 2019

2. Simplification Using Karnaugh Map

The complexity of digital logic gates to implement a Boolean function is directly related to the complexity of algebraic expression. Also, an increase in the number of variables results in an increase of complexity. Although the truth table representation of a Boolean function is unique, its algebraic expression may be of many different forms. The map method, was proposed by Karnaugh, with providing a simple, straightforward procedure for the simplification of Boolean functions. The method is called Veitch diagram or Karnaugh map , which is regarded as a pictorial representation of a truth table. The Karnaugh map provides a systematic method for simplification and manipulation of a Boolean

expression. The map is a diagram consisting of squares. For n variables on a Karnaugh map there are 2n numbers of squares. Each square or cell represents one of the minterms. Since any Boolean function can be expressed as a sum of minterms, it is possible to recognize a Boolean function graphically in the map from the area enclosed by those squares whose minterms appear in the function. It is also possible to derive alternative algebraic expressions or simplify the expression with a minimum number of variables or literals and sum of products or product of sums terms, by analyzing various patterns. In fact, the map represents a visual diagram of all possible ways a function can be expressed in a standard form and the simplest algebraic expression consisting of a sum of products or product of sums can be selected. Note that the expression is not necessarily unique.

3. Two-Variable Karnaugh Maps

A two-variable Karnaugh map is shown in Figure (3.1).

Example 1 : Simplify the following Boolean expression using Karnaugh map: F(x,y) = x'y+x'y'

Solution :

Figure (1) : Two variable karnaugh map.

Example 5: Simplify the following Boolean expression using Karnaugh map: F(x,y,z)= Σ(3,4,6,7)

Solution:

Example 6 : Simplify the following Boolean expression using Karnaugh map: F(x,y,z)= Σ(0,1,2,4,5,6)

Solution:

5. Four-Variable Karnaugh Maps

A four-variable Karnaugh map is shown in Figure (3).

Example 7 : Simplify the following Boolean expression using Karnaugh map:

F(w,x,y,z)= Σ(0,1,2,4,5,6,8,9,12,13,14)

Solution:

Figure (3) : Four variable karnaugh map.

Example 8 : Simplify the following Boolean expression using Karnaugh map:

F(w,x,y,z)= Σ(0,2,3,5,7,8,9,10,11,13,15)

Solution :

6. Don't-Care Combinations

In certain digital systems, some input combinations never occur during the process of a normal operation because those input conditions are guaranteed never to occur. Such input combinations are called Don’t-Care Combinations. The function output may be either 1 or 0 and these functions are called incompletely specified functions. These input combinations can be plotted on the Karnaugh map for further simplification of the function. The don’tcare combinations are represented by d or x or Φ.

Example 9 : Simplify the following Boolean expression using Karnaugh map:

F(w,x,y,z)= Σ(1,3,7,11,15)+ x(0,2,5,8)

Solution: