Module 1 Boolean Expression Notes
Module 1 Boolean Expression Notes
Lecture Notes
Module 1
Introduction
An electronic circuit is composed of individual electronic components such as resistors, diodes, capacitors,
transistors etc. An electronic circuit can usually be categorized as an analog circuits and digital circuits.
Analog electronics is an electronics system where signal change continuously. Analog signal is a signal
whose amplitude can take any value between given limits. An analog circuit operates on continuous signals.
Digital electronics is a field of electronics involving the study of digital signals and the engineering of
devices that use or produce them. Digital signal is a signal whose amplitude can have only given discrete
values between defined limits. A signal that changes amplitude in discrete steps. A digital circuit operates on
discrete signals. Digital signals are represented using binary value 0’s and 1’s.
There are two types of digital circuits 1. Combinational logic circuits 2. Sequential logic circuits
Clock is a periodic, rectangular waveform used as a basic timing signal. Duty cycle for a periodic digital
signal, the ratio of high-level time to the period or the ratio of low-level time to the period. A table that shows
all of the input output possibilities of a logic circuit is called truth table.
NOT gate:
A gate with only one input and a
complemented output.
OR gate:
A gate with two or more inputs. The
output is high when any input is high
AND gate:
A gate with 2 or more inputs. The output
is high only when all inputs are high
Any logic function/ logic circuit can be implemented using only one kind of gate then such gates are called
universal logic gates. NOR gate and NAND gate are called universal logic gates
NAND gate:
A gate with two or
more inputs. The
output is low when
all input is high.
Exclusive-OR gate:
A gate with two or more inputs and
output of is HIGH only when the
number of HIGH inputs is odd.
Equivalence/exclusive-NOR gate
A gate with two or more inputs and
output of is HIGH only when the
number of HIGH inputs is even.
The minterm expression can be written by collecting all terms for which function evaluates to 1 i.e., high
output.
Example:
An Incompletely specified function is a Boolean function that only define output values for a subset of its
inputs - i.e., a Boolean function whose output is a don't care for at least one of its input combinations. The Xs
in the truth table indicate that we don’t care whether the value of 0 or 1 is assigned to F.
Example: Truth Table with Don’t-Cares.
In SOP we use m to denote the required minterms and d to denote the don’t-care minterms. F
(A, B, C) = Σ m(0, 3, 7) + Σ d(1, 6)
In POS we use M to denote the required maxterms and D to denote the don’t-care maxterms. F
(A, B, C) = Π M (2, 4, 5) · Π D(1, 6)
The minimum sum of products is not necessarily unique; that is, a given function may have two different
minimum sums of products forms, each with the same number of terms and the same number of literals.
Given a minterm expansion, the minimum sum-of products form can often be obtained by the following
procedure:
(i) Combine terms by using XY'+ XY =(Y′+Y) =X. Do this repeatedly to eliminate as many literals as
possible. A given term may be used more than once because X+X=X.
(ii) Eliminate redundant terms by using the theorems of Boolean Algebra.
A minimum product of sums expression for a function is defined as a product of sum terms which
(i) has a minimum number of terms, and
(ii) of all those expressions which have the same number of terms, has a minimum number of literals.
Unlike the maxterm expansion, the minimum product of sums form of a function is not necessarily unique.
Given a maxterm expansion, the minimum product of sums can often be obtained by a procedure similar to
that used in the minimum sum of products case, except that the theorem (X+Y′)(X+Y)= X is used to combine
terms.
Simplification of Boolean function reduces the gate count required to implement the circuit, the circuit
works faster and circuit require less power consumption.
Switching/Boolean functions can generally be simplified by using the algebraic techniques. The
disadvantages of algebraic procedure usage are
(i) The procedures are difficult to apply in a systematic way,
(ii) It is difficult to tell when we have arrived at a minimum solution.
Karnaugh map/K map is a method simplifying and manipulating switching functions. K map method is
faster and easier to apply than other simplification methods.
OR
A quad is a group of four ls that are horizontally or vertically adjacent and a quad eliminates two variables
and their complements
An octet is a group of 8 ls that are horizontally or vertically adjacent and an octet eliminates three variables and
their complements
Overlapping of groups: We are allowed to use the same 1 more than once.
Rolling of Map:
Groups may wrap around the table. The leftmost cell in a row may be grouped with the rightmost cell
and the top cell in a column may be grouped with the bottom cell. Roll and overlap to get largest group.
Any single 1 or any group of 1’s which can be combined together on a map of the function F represents a
product term which is called an implicant of F. Several implicants of F may be possible. A product term
implicant is called a prime implicant if it cannot be combined with another term to eliminate a variable.
The following procedure can then be used to obtain a minimum sum of products from a Karnaugh map.
1) Choose a minterm (a 1) which has not yet been covered.
2) Find all 1’s and X’s adjacent to that minterm. (Check the n adjacent squares on an n-variable map.)
3) If a single term covers the minterm and all of the adjacent 1’s and X’s, then that term is an
essential prime implicant, so select that term. (don’t-care terms are treated like 1’s in steps 2 and 3
but not in step 1.)
4) Repeat steps 1, 2, and 3 until all essential prime implicants have been chosen.
5) Find a minimum set of prime implicants which cover the remaining 1’s on the map. (If there is
more than one such set, choose a set with a minimum number of literals.)
The following figure shows the flowchart for determining a minimum sum of products using a
Karnaugh map with an example
Solve S= F(A,B,C)=Σ m(0, 1, 3, 5, 6, 7, 11, 12, 14) using Kmap and implement using basic gates, nand
only and nor only.
Solve S=F(A,B,C,D)=Σ m(0,1, 2, 4, 5,6, 8,9,10,12,13) using Kmap and implement using basic gates,
nand only and nor only.
Limitations of K map:
Complexity of K-map simplification process increases with the increase in the number of variables K map is
manual technique and simplification process heavily depends on the human ability.