Module 1 PDF
Module 1 PDF
Module 1 PDF
An Autonomous Institution ,Affiliated to Visvesvaraya Technological University, Belagavi. Approved By AICTE, New Delhi. Recognized
1
by UGC with 2(f) & 12(B) status. Accredited by NBA and NAAC.
COURSE OBJECTIVES
The students will be able to :
2
COURSE OUTCOMES
CO1:Apply the K–Map techniques to simplify various Boolean
expressions.
CO2: Design different types of combinational and sequential
circuits along with Verilog programs.
CO3: Describe the fundamentals of machine instructions,
addressing modes and Processor performance.
CO4: Explain the approaches involved in achieving
communication between processor and I/O devices.
CO5: Analyze internal Organization of Memory and Impact of
cache/Pipelining on Processor Performance
3
TEXT BOOK:
1. M. Morris Mano & Michael D. Ciletti, Digital Design With an
Introduction to Verilog Design, 5e, Pearson Education.
2. Carl Hamacher, ZvonkoVranesic, SafwatZaky, Computer
Organization, 5th Edition, Tata McGraw Hill.
REFERENCE BOOKS:
1. Charles H Roth and Larry L Kinney, Fundamentals of Logic
design, Cengage Learning,2019.
2. Anil K Maini, Varsha Agarwal, Electronic Devices and
Circuits, Wiley, 2012
3. Donald P Leach, Albert Paul Malvino & Goutam Saha, Digital
Principles and Applications, 8th Edition, Tata McGraw Hill,
2015
4
BRIDGE CONTENTS
1.Basic logic gates
2.Universal Gates
3.Laws and Rules of Boolean Algebra
5
BRIDGE MATERIAL
BASIC GATES-1
6
Because the circuits simulate mental processes, gates
are often called logic circuits. NOT, OR & AND gates are
the basic types of gates.
The inter-connection of gates to perform a variety of
logical operations is called logic design.
The operation of a logic gate can be easily understood
with the help of "truth table".
A truth table lists all possible combinations of inputs
and the corresponding outputs.
7
BASIC GATES-2
NOT GATE (INVERTER)
It is a gate with only 1 input and a complemented output.
8
BASIC GATES-3
AND GATE ( A.B)
This is a gate with 2 or more inputs.
The output is HIGH only when all inputs are HIGH.
9
BASIC GATES-4
10
BASIC GATES-5
OR GATE (A + B)
This is a gate with 2 or more inputs.
11
BASIC GATES-6
12
BASIC GATES-7
NOR GATE
This represents an OR gate followed by an inverter.
13
BASIC GATES-8
Universality of NOR Gate
14
BASIC GATES-9
NAND GATE
This represents an AND gate followed by an
inverter.
15
BASIC GATES-10
Universality of NAND Gate
16
EXCLUSIVE-OR GATES-1
The exclusive-OR gate has a high output only when an
odd number of inputs is high.
OR
Y=A B 17
EXCLUSIVE-OR GATES-2
18
EXCLUSIVE-OR GATES-2
EX-NOR Gate
Truth Table
A B Y
0 0 1 A
0 1 0 Y
B
1 0 0
1 1 1
Y=A B
or 19
20
COURSE CONTENT
Module 1
Metal Oxide Semiconductor Field Effect
transistor(MOSFET): Structure and I-V characteristics,
MOSFET as a switch, MOSFET as an amplifier, CMOS
and its applications.
Oscillators: Basic working and applications of RC Phase
shift oscillator, Wien Bridge oscillator, LC oscillator,
Colpitt oscillator, Crystal Oscillator.
Linear Power Supplies: Constituents of a Linear Power
Supply, Designing Mains Transformer, Linear IC voltage
regulators, Regulated Power Supply Parameters
21
Module 2
Karnaugh maps:
Minimum forms of switching functions, two and three
variable Karnaugh maps, four variable karnaugh maps,
Quine-McClusky Method: determination of prime
implicants, The prime implicant chart, petricks method,
simplification of incompletely specified functions,
simplification using map-entered variables
22
Module 3
Combinational Circuits: Multiplexer, Decoders, Adders,
Subtractors, BCD arithmetic, carry look ahead adder, serial
adder, ALU-Design and popular MSI chips, digital
comparator, parity checker/generator, code converters,
priority encoders, decoders/drivers for display devices
23
Module 4
Flip-Flops and Registers:
Flip Flops: S-R,J-K,D and T flip flops, Edge-triggered JK
FLIP-FLOPs
Registers: Types of Registers, Serial In - Serial Out, Serial In -
Parallel out, Parallel In - Serial Out, Parallel In - Parallel
Out, Universal Shift Register, Applications of Shift
Registers.
Counters: Asynchronous Counters, Decoding Gates,
Synchronous Counters, Changing the Counter Modulus,
Decade Counters, Applications of Counters.
24
Module 5
D/A Conversion and A/D Conversion:
Digital to analog converters: weighted resistor/converter, R-
2R Ladder D/A converter, specifications for D/A converters,
examples of D/A converter lCs, sample and hold circuit.
Analog to digital converters: quantization and encoding,
parallel comparator A/D converter, successive approximation
A/D converter, counting A/D converter, dual slope A/D
converter, A/D converter using voltage to frequency and
voltage to time conversion, specifications of A/D converters,
example of A/D Converter ICs
25
INTRODUCTION
• Each gate input is labelled with a variable.
• Each appearance of a variable or its complement in
an expression will be referred to as a literal.
The following expression, which has three variables, has 10
literals
ab′c + a′b + a′bc′ + b′c′
A truth table (also called a table of combinations)
specifies the values of a Boolean expression for every
possible combination of values of the variables in the
expression.
26
INTRODUCTION
An expression is said to be in sum-of-products (SOP) form when all products
are the products of single variables.
E.g. AB′ + CD′E + AC′E′
A sum-of-products expression can be realized using one or more AND
gates feeding a single OR gate at the circuit output.
An expression is in product-of-sums (POS) form when all sums are the sums
of single variables.
E.g. (A + B′)(C + D′ + E)(A + C′ + E′)
A product-of-sums expression can be realized using one or more OR
gates feeding a single AND gate at the circuit output.
27
SOP
28
POS
29
BASICS
1. A .A = A
10:53 PM
2. A+A=A
3. A.1 =A
4. A+A =1
5. 1+A=1
30
INTRODUCTION
(A + BC)(A + D + E)
= A + BCD + BCE
31
INTRODUCTION
The Consensus Theorem
Useful in simplifying Boolean expressions.
The consensus theorem can be used to eliminate redundant
terms from Boolean expressions.
E.g. XY + X′Z + YZ
34
SUM-OF-PRODUCTS (SOP)
METHOD-1
35
SUM-OF-PRODUCTS (SOP)
METHOD-2
36
SUM-OF-PRODUCTS (SOP)
METHOD-3
37
SUM-OF-PRODUCTS (SOP)
METHOD-4
Example:
Fundamental Products for Three Inputs
38
SUM-OF-PRODUCTS (SOP)
METHOD-5
The above three variable minterms can alternatively be
represented by mo, m1, m2, m3, m4, m5, m6, and m7
respectively. Note that, for n variable problem there can be 2n
number of minterms.
The fundamental products by listing each one next to the
input condition that results in a high output.
For instance, when A = 1, B = 0 and C = 0, the fundamental
product results in an output of
39
SUM-OF-PRODUCTS EQUATION-1
Sum-of-Products Equation
The Sum-of-products solution, for given a truth table shown below.
Write down the fundamental product for each output 1 in the truth
table. For example, the first output 1 appears for an input of A = 0, B
= 1, and C = 1. The corresponding fundamental product is .
40
10:53 PM
41
SUM-OF-PRODUCTS EQUATION-2
Alternate representation
42
SUM-OF-PRODUCTS EQUATION-3
where '∑:' symbolizes summation or logical OR
operation that is performed on corresponding
minterm’s and Y = F (A, B, C) means Y is a function
of three Boolean variables A, B and C. This kind of
representation of a truth table is also known as
canonical sum form.
43
LOGIC CIRCUIT
44
LAB EXPERIMENT
Design and implement Half adder, Full Adder,
Half Subtractor, Full Subtractor using basic
gates.
Half Adder:
Truth Table for Half Adder
Input Output
A B Sum (S) Carry (C)
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Logic Expression
45
PRODUCT-OF-SUMS METHOD-1
Given a truth table, identify the fundamental sums
needed for a logic design. Then by ANDing these
sums, will get the product-of-sums equation
corresponding to the truth table.
But, in the sum-of-products method, the fundamental
product produces an output l for the corresponding
input condition.
But with the product of- sums method, the
fundamental sum produces an output 0 for the
corresponding input condition. 46
PRODUCT-OF-SUMS METHOD-2
Converting a Truth Table to an Equation
47
PRODUCT-OF-SUMS METHOD-3
Logic Circuit
48
PRODUCT-OF-SUMS METHOD-4
49
CONVERSION BETWEEN SOP AND POS
Mapping between canonical forms
Minterm to maxterm conversion
use maxterms whose indices do not appear in minterm expansion
e.g. F(A,B,C) = ∑m(1,3,5,6,7) = ∏M(0,2,4)
50
DON'T-CARE CONDITIONS-1
51
DON'T-CARE CONDITIONS-2
In Minterm form
F =Σ m(0, 3, 7) +Σ d(1, 6)
In Maxterm form
F =Π M(2, 4, 5)· Π D(1, 6)
52
DON'T-CARE CONDITIONS-2
53
KARNAUGH MAPS
Switching functions can generally be simplified by using the
algebraic techniques.
However, two problems arise when algebraic procedures are
used:
1. The procedures are difficult to apply in a systematic way.
2. It is difficult to tell when you have arrived at a minimum solution.
The Karnaugh map method and the Quine-McCluskey procedure
used to overcome these difficulties by providing systematic
methods for simplifying switching functions.
The Karnaugh map is useful tool for simplifying and
manipulating switching functions of three or four variables
(Literals).
54
KARNAUGH MAPS
MINIMUM FORMS OF SWITCHING FUNCTIONS
When a function is realized using AND and OR gates, the cost of realizing
the function is directly related to the number of gates and gate inputs used.
The Karnaugh map techniques developed that lead directly to minimum
cost two-level circuits composed of AND and OR gates.
An expression consisting of a sum of product terms corresponds directly to
a two-level circuit composed of a group of AND gates feeding a single OR
gate.
Similarly, a product-of-sums expression corresponds to a two-level circuit
composed of OR gates feeding a single AND gate.
Therefore, to find minimum cost two-level AND-OR gate circuits, we must
find minimum expressions in sum-of-products or product-of-sums form.
55
KARNAUGH MAPS
MINIMUM FORMS OF SWITCHING FUNCTIONS
56
Karnaugh Maps
Minimum Forms of Switching Functions
57
KARNAUGH MAPS
MINIMUM FORMS OF SWITCHING FUNCTIONS
Given a minterm expansion, the minimum sum-of-products form
can often be obtained by the following procedure:
1. Combine terms by using the uniting theorem XY′ + XY = X. Do this
repeatedly to eliminate as many literals as possible. A given term may
be used more than once because X + X = X.
2. Eliminate redundant terms by using the consensus theorem or other
theorems.
Note: Unfortunately, the result of this procedure may depend on the order in
which terms are combined or eliminated so that the final expression obtained
is not necessarily minimum.
58
KARNAUGH MAPS
MINIMUM FORMS OF SWITCHING FUNCTIONS
59
KARNAUGH MAPS
MINIMUM FORMS OF SWITCHING FUNCTIONS
Minterms and products are represented in algebraic notation or
binary notation.
The first four-variable example below illustrates this for
minterms and the second for products containing three literals.
The dash indicates a missing variable.
ab′cd′ + ab′cd = ab′c
ab′c + abc = ac
Note that minterms only combine if they differ in one variable,
and products only combine if they have dashes in the same
position (same missing variables) and differ in one other
variable.
60
10:53 PM
61
10:53 PM
62
RULES FOR K-MAP SIMPLIFICATION
10:53 PM
2. We can group 1, 2, 4, 8 or 2^n cells.
3. Each group should be as large as possible
4. Cells contain 1 must be grouped.
5. Groups may overlap.
6. Opposite grouping and corner grouping is
allowed.
7. There should be as few group as possible.
63
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
It is a two variable karnaugh map
64
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
66
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
The rows are labeled in the sequence 00, 01, 11, 10 so that values in
adjacent rows differ in only one variable.
67
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
68
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Three-Variable Maps
Example: Y = F(A, B, C) = ∑m(2,6,7)
69
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Given the minterm expansion of a function, it can be plotted on a map by
placing 1’s in the squares which correspond to minterms of the function and
0’s in the remaining squares (the 0’s may be omitted if desired).
E.g. Karnaugh Map of
F(a, b, c) = Σ m(1, 3, 5)
= Π M(0, 2, 4, 6, 7)
70
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
71
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Simplification of a Three-Variable Function
Terms in adjacent squares on the map differ in only one
variable and combine them.
E.g. a′b′c and a′bc combine to form a′c, and a′b′c and ab′c
combine to form b′c,
72
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
73
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
74
10:53 PM
75
10:53 PM
76
10:53 PM
77
10:53 PM
78
10:53 PM
79
10:53 PM
80
10:53 PM
81
10:53 PM
82
10:53 PM
83
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Exercise Problems:
1. Given F1 =Σ m(0, 4, 5, 6) and F2 =Σ m(0, 3, 6,
7) find the minterm expression for F1 and F2
using K-map.
85
10:53 PM
86
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Exercise Problems:
1. Work (a) and (b) with the following truth table:
a) Find the simplest expression for F, and specify the
values of the don’t-cares that lead to this expression.
b) Repeat (a) for G. (Hint: Can you make G the same
as one of the inputs by properly choosing the values
for the don’t-care?)
87
KARNAUGH MAPS
TWO- AND THREE-VARIABLE KARNAUGH MAPS
Exercise Problems:
Find the minimum sum of products for each
function using a Karnaugh map.
(a) f1(a, b, c) = m0 + m2 + m5 + m6
(b) f2(d, e, f ) = Σ m(0, 1, 2, 4)
(c) f3(r, s, t) = rt′ + r′s′ + r′s
(d) f4(x, y, z) = M0 · M5
88
10:53 PM
89
KARNAUGH MAPS FOUR-VARIABLE KARNAUGH MAPS
90
KARNAUGH MAPS
FOUR-VARIABLE KARNAUGH MAPS
Example: Y= F(A,B,C,D)= ∑m(1,6,7,14)
91
KARNAUGH MAPS
FOUR-VARIABLE KARNAUGH MAPS
Simplification of Four-Variable Functions
93
KARNAUGH MAPS
FOUR-VARIABLE KARNAUGH MAPS
A minimum product of sums can also be obtained from the map.
Because the 0’s of f are 1’s of f′, the minimum sum of
products for f′ can be determined by looping the 0’s on a map
of f.
The complement of the minimum sum of products for f′ is
then the minimum product of sums for f.
The following example illustrates this procedure for
f = x′z′ + wyz + w′y′z′ + x′y
Then, from the 0’s,
f ′ = y′z + wxz′ + w′xy
and the minimum product of sums for f is
94
f = (y + z′)(w′ + x′ + z)(w + x′ + y′)
KARNAUGH SIMPLIFICATIONS-1
The Karnaugh map uses the following rules for the
simplification of expressions
by grouping together adjacent cells containing ones.
After drawing a Karnaugh map,
Encircle the octets first,
The quads second, and
The pairs last.
95
KARNAUGH SIMPLIFICATIONS-2
Groups may not include any cell containing a zero.
96
KARNAUGH SIMPLIFICATIONS-3
Groups must contain 1, 2, 4, 8, or in general 2n cells.
That is if n = 1, a group will contain two 1's since 21 = 2.
97
KARNAUGH SIMPLIFICATIONS-4
Each group should be as large as possible.
98
KARNAUGH SIMPLIFICATIONS-5
Groups may overlap.
Groups may wrap (Rolling the Map) 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.
99
KARNAUGH SIMPLIFICATIONS-6
Rolling the Map
100
KARNAUGH SIMPLIFICATIONS-7
Always overlap groups if possible
Use the 1s more than once to get the largest
groups you can.
101
KARNAUGH SIMPLIFICATIONS-8
There should be as few groups as possible, as long as
this does not contradict any of the previous rules.
102
KARNAUGH SIMPLIFICATIONS-11
1. No zeros allowed (Only in SOP).
2. No diagonals.
3. Only power of 2 number of cells in each group.
4. Groups should be as large as possible.
5. Every one must be in at least one group.
6. Overlapping allowed.
7. Wrap around allowed.
8. If possible roll and overlap to get the largest
groups you can find.
9. Fewest number of groups possible.
103
K- MAP GROUPING EXAMPLES-1
Rolling and overlapping
104
K- MAP GROUPING EXAMPLES-2
105
ELIMINATING REDUNDANT GROUPS-2
A group whose 1s are already used by other groups.
106
ELIMINATING REDUNDANT GROUPS-2
A group whose 1s are already used by other
groups.
107
ELIMINATING REDUNDANT GROUPS-2
A group whose 1s are already used by other
groups.
109
SUMMARY OF THE KARNAUGH-MAP METHOD
FOR SIMPLIFYING BOOLEAN EQUATIONS
110
EXAMPLE-1
What is the simplified Boolean equation for the following
logic equation expressed by minterms?
Y=F(A,B,C,D)=∑m(7,9, 10, 11, 12, 13, 14, 15)
111
EXAMPLE-1
What is the simplified Boolean equation for the
following logic equation expressed by minterms?
Y=F(A,B,C,D)=∑m(7,9, 10, 11, 12, 13, 14, 15)
112
EXAMPLE-1
What is the simplified Boolean equation for the following logic
equation expressed by minterms? Y=F(A,B,C,D)=∑m(7,9, 10,
11, 12, 13, 14, 15)
113
EXAMPLE-1
What is the simplified Boolean equation for the
following logic equation expressed by minterms?
Y=F(A,B,C,D)=∑m(7,9, 10, 11, 12, 13, 14, 15)
114
EXAMPLE-1
What is the simplified Boolean equation for the
following logic equation expressed by minterms?
Y=F(A,B,C,D)=∑m(7,9, 10, 11, 12, 13, 14, 15)
115
EXAMPLE-2
Simplify the following Boolean function in
sum of products form (SOP) F(x, y, z, w) =
∑m(0, 1, 2, 5, 8, 9, 10)
F= + +
116
DON'T-CARE CONDITIONS-3
117
DON'T-CARE CONDITIONS-4
Ideas about don't-care conditions:
1. Given the truth table, draw a Karnaugh map
with 0s, 1s, and don't-cares (X).
2. Encircle the actual 1s on the Karnaugh map in
the largest groups you can find by treating the
don't cares as 1s.
3. After the actual 1s have been included in
groups, disregard the remaining don't cares by
visualizing them as 0s.
118
DON'T-CARE CONDITIONS-5
What is the simplest logic circuit for the following
truth table?
A B C D Y
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X 119
1 1 1 1 X
DON'T-CARE CONDITIONS-6
Give the simplest logic circuit for following logic
equation where d represents don't-care condition for
following locations.
F(A, B, C, D) = ∑m(7) + d(10, 11, 12, 13, 14, 15)
120
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
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.
A product term implicant is called a prime implicant if
it cannot be combined with another term to eliminate a
variable.
121
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
In Figure, a′b′c, a′cd′, and ac′ are prime implicants because they
cannot be combined with other terms to eliminate a variable.
a′b′c′d′ is not a prime implicant because it can be combined with
a′b′cd′ or ab′c′d′.
Neither abc′, nor ab′c′ is a prime implicant because these terms can
be combined together to form ac′.
122
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
All of the prime implicants of a function can be obtained
from a karnaugh map.
a single 1 on a map represents a prime implicant if it is not
adjacent to any other 1’s.
two adjacent 1’s on a map form a prime implicant if they are
not contained in a group of four 1’s;
four adjacent 1’s form a prime implicant if they are not
contained in a group of eight 1’s, etc.
123
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The minimum sum-of-products expression for a function
consists of some (but not necessarily all) of the prime
implicants of a function.
In other words, a sum-of-products expression containing
a term which is not a prime implicant cannot be
minimum.
This is true because if a nonprime term were present,
the expression could be simplified by combining the
nonprime term with additional minterms.
124
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The function plotted in Figure has six prime implicants.
Three of these prime implicants cover all of the 1’s on the
map, and the minimum solution is the sum of these three
prime implicants.
The shaded loops represent prime implicants which are not
part of the minimum solution.
125
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
All of the prime implicants of a function are generally
not needed in forming the minimum sum of products, a
systematic procedure for selecting prime implicants is
needed.
If prime implicants are selected from the map in the
wrong order, a no minimum solution may result.
126
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
For example, in Figure (a), if CD is chosen first, then
BD, B′C, and AC are needed to cover the remaining 1’s,
and the solution contains four terms.
If the prime implicants indicated in Figure (b) are chosen
first, all 1’s are covered and CD is not needed.
127
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
Note that some of the minterms on the map of Figure (a)
can be covered by only a single prime implicant, but
other minterms can be covered by two different prime
implicants.
For example, m2 is covered only by B′C, but m5 is
covered by both B′C and CD.
128
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
If a minterm is covered by only one prime implicant,
that prime implicant is said to be essential prime
implicants, and it must be included in the minimum
sum of products.
B′C is an essential prime implicant because m2 is not
covered by any other prime implicant.
CD is not essential prime implicant because each of the 1’s
in CD can be covered by another prime implicant.
The only prime implicant which covers m5 is BD, so BD is
essential.
AC is essential because no other prime implicant covers
m14. 129
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
In general, in order to find a minimum sum of products from a
map, we should first loop all of the essential prime implicants.
One way of finding essential prime implicants on a map is
simply to look at each 1 on the map that has not already been
covered, and check to see how many prime implicants cover
that 1.
If there is only one prime implicant which covers the 1, that
prime implicant is essential.
If there are two or more prime implicants which cover the 1, we
cannot say whether these prime implicants are essential or not
without checking the other minterms.
130
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
For example, in Figure, m4 is covered only by the prime
implicant bc′, and m10 is covered only by the prime
implicant ac.
All other 1’s on the map are covered by two prime
implicants; therefore, the only essential prime implicants
are bc′ and ac.
131
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
If the given minterm and all of the 1’s adjacent to
it are covered by a single term, then that term is
an essential prime implicant.
If all of the 1’s adjacent to a given minterm are
not covered by a single term, then there are two
or more prime implicants which cover that
minterm, and we cannot say whether these prime
implicants are essential or not without checking
the other minterms.
132
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The adjacent 1’s for
minterm m0 (10) are 11,
12, and l4.
Because no single term
covers these four 1’s, no
essential prime
implicant is yet
apparent.
The adjacent 1’s for 11
are 10 and 15, so the
term which covers these
three 1’s (A′C′) is an
essential prime
implicant. 133
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The only 1 adjacent to
12 is 10, A′B′D′ is also
essential.
134
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The 1’s adjacent to 17 (15
and 115) are not covered by
a single term, neither
A′BD nor BCD is essential.
To complete the minimum
solution, one of the
nonessential prime
implicants is needed. So
either A′BD or BCD may
be selected
The final solution is
135
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
The following procedure can 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.)
136
1. 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. (Note that don’t-
care terms are treated like 1’s in steps 2 and 3 but not
in step 1.)
2. Repeat steps 1, 2, and 3 until all essential prime
implicants have been chosen.
3. 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.)
137
DETERMINATION OF MINIMUM EXPRESSIONS
USING ESSENTIAL PRIME IMPLICANTS
138
PROGRAMMED EXERCISE
Determine the minimum sum of products and
minimum product of sums for
f = b′c′d′ + bcd + acd′ + a′b′c + a′bc′d
139
10:53 PM
140
PROGRAMMED EXERCISE
For problem on K-Map refer text book and VTU
question papers.
What is the simplified Boolean equation for the
following logic equation expressed by minterms?
Y=F(A,B,C,D)=∑m(7,9, 10, 11, 12, 13, 14, 15)
F(w, x, y, z) = ∑m(0, 1, 2, 5, 8, 9, 10)
Y= ∑m(1, 2, 6, 7)
Y=F(p,q,r,s)=∑m(1, 3, 4, 10, 12, 13, 15)
F (w, x, y, z) = ∑m (0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14)
142
PROGRAMMED EXERCISE
Find the minimum sum of products for each
function using a Karnaugh map.
(a) f1(a, b, c) = m0 + m2 + m5 + m6
(d) f4(x, y, z) = M0 · M5
143
PROGRAMMED EXERCISE
Find the minimum sum-of-products expression
for each function. Underline the essential prime
implicants in your answer and tell which
minterm makes each one essential.
1. f(a, b, c, d) =Σ m(0, 1, 3, 5, 6, 7, 11, 12, 14)
2. f(a, b, c, d) =Π M(1, 9, 11, 12, 14)
3. f(a, b, c, d) =Π M(5, 7, 13, 14, 15)· Π D(1, 2,
3, 9)
4. f(a, b, c, d) =Σ m(0, 2, 3, 4, 7, 8, 14)
5. f(a, b, c, d) =Σ m(1, 2, 4, 15) +Σ d(0, 3, 14)
6. f(a, b, c, d) =Π M(1, 2, 3, 4, 9, 15)
7. f(a, b, c, d) =Π M(0, 2, 4, 6, 8) ·Π D(1, 12, 9, 15) 144
PROGRAMMED EXERCISE
Find the minimum sum-of-products expression
for each function. Underline the essential prime
implicants in your answer and tell which
minterm makes each one essential.
1. f(a, b, c, d) =Σm (0, 1, 3, 5, 6, 7, 11, 12, 14)
2. f(a, b, c, d) =ΠM (1, 9, 11, 12, 14)
3. f(a, b, c, d) =ΠM (5, 7, 13, 14, 15)· ΠD (1, 2, 3, 9)
145
PRODUCT-OF-SUMS
SIMPLIFICATION-1
SOP Simplification
Complementary Circuit
146
PRODUCT-OF-SUMS
SIMPLIFICATION-2
Using Karnaugh map by grouping zeros
147
EXAMPLE-1
Give POS form of Y = F(A, B, C, D) = ∏M(0,3, 4,
5, 6, 7, 11, 15)
AB
CD
00 01 11 10
00 0 0
1 1
0 3
1 2
01 0 4
0 5
0 7
0 6
11 1 12 1 13 0 15 1 14
10 1 8 1 9 0 11 1 10
148
EXAM QUESTIONS
Simplify the following using K-Map
1 1 4
1 5
1 7
0 6
1 1 4
1 5
1 7
0 6
149
MULTIPLE CHOICE QUESTIONS
1.The universal gate is ………………
1. NAND gate
2. OR gate
3. AND gate
2. OR gate
3. AND gate
150
3.Determine the values of A, B, C, and D that make the
sum term equal to zero.
1. A = 1, B = 0, C = 0, D = 0
2. A = 1, B = 0, C = 1, D = 0
3. A = 0, B = 1, C = 0, D = 0
4. A = 1, B = 0, C = 1, D = 1
10:53 PM
squares.
a) Venn Diagram
b) Cycle Diagram
c) Block diagram
d) Triangular Diagram
14. There are ______ cells in a 4-variable K-map.
a) 12
b) 16
c) 18
d) 8
156
15.The K-map based Boolean reduction is based on
the following Unifying Theorem: A + A’ = 1.
a) Impact
b) Non Impact
c) Force
d) Complementarity
162
28.Which of the following expressions is in the
sum-of-products form?
a) (A + B)(C + D)
b) (A * B)(C * D)
c) A* B *(CD)
d) A * B + C * D
29. Which of the following is an important feature
of the sum-of-products form of expressions?
a) All logic circuits are reduced to nothing more
than simple AND and OR operations
b) The delay times are greatly reduced over other
forms
c) No signal must pass through more than two
gates, not including inverters
d) The maximum number of gates that any signal
must pass through is reduced by a factor of two 163
UNIVERSITY QUESTIONS
1.Find the SOP and POS of the following Boolean
functions using K-Map and draw the circuit diagram
F(a,b,c,d)=∑m(6,7,9,10,13)+d(1,4,5,11)
F(w,x,y,z)=πM(1,2,3,4,9,10)+d(0,1,4,15) -- L2
166
INNOVATIVE PROJECT LINK
1. www.elprocus.com
2. https://www.elprocus.com/
167
CASE STUDY LINK
1. https://core.ac.uk/download/pdf/162670931.pdf
2. https://www.ijcaonline.org/archives/volume143/n
umber7/wankhade-2016-ijca-910257.pdf
168
REFERENCES
en.wikipedia.org
www.allaboutcircuits.com
www.tutorialspoint.com
https://www.wikizero.com
www.electronicshub.org
169