![Page 1: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/1.jpg)
Pune Vidyarthi Griha’s
COLLEGE OF ENGINEERING, NASIK - 4
“Minimization techniques”
By
Prof. Anand N. Gharu
Assistant Professor
Computer Department
![Page 2: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/2.jpg)
Combinational Logic Circuits
Introduction Standard representation of canonical forms (SOP &
POS), Maxterm and Minterm , Conversion between SOP and POS forms
K-map reduction techniques upto 4 variables (SOP & POS form), Design of Half Adder, Full Adder, Half Subtractor & Full Subtractor using k-Map
Code Converter using K-map: Gray to Binary Binary to Gray Code Converter (upto 4 bit)
IC 7447 as BCD to 7- Segment decoder driver IC 7483 as Adder & Subtractor, 1 Digit BCD Adder Block Schematic of ALU IC 74181 IC 74381
8/29/2017 2
![Page 3: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/3.jpg)
Standard Representation
Any logical expression can be expressed in the
following two forms:
Sum of Product (SOP) Form
Product of Sum (POS) Form
8/29/2017 3
![Page 4: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/4.jpg)
SOP Form
For Example, logical expression given is;
8/29/2017 4
Sum
Product
. . .Y A B B C AC
![Page 5: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/5.jpg)
POS Form
For Example, logical expression given is;
8/29/2017 5
Sum
Product
( ).( ).( )Y A B B C A C
![Page 6: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/6.jpg)
Standard or Canonical SOP & POS Forms
We can say that a logic expression is said to be in the standard (or canonical) SOP or POS form if each product term (for SOP) and sum term (for POS) consists of all the literals in their complemented or uncomplemented form.
8/29/2017 6
![Page 7: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/7.jpg)
Standard SOP
8/29/2017 7
Each product term consists all the literals
Y ABC ABC ABC
![Page 8: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/8.jpg)
Standard POS
8/29/2017 8
Each sum term consists all the literals
( ).( ).( )Y A B C A B C A B C
![Page 9: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/9.jpg)
Sr. No. Expression Type
1 Non Standard SOP
2 Standard SOP
3 Standard POS
4 Non Standard POS
Examples
8/29/2017 9
Y AB ABC ABC
Y AB AB AB
( ).( ).( )Y A B A B A B
( ).( )Y A B A B C
![Page 10: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/10.jpg)
Conversion of SOP form to Standard SOP
Procedure: 1. Write down all the terms. 2. If one or more variables are missing in any
product term, expand the term by multiplying it with the sum of each one of the missing variable and its complement .
3. Drop out the redundant terms
8/29/2017 10
![Page 11: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/11.jpg)
Example 1
8/29/2017 11
Convert given expression into its standard SOP form
Missing literal is A
Missing literal is B
Missing literal is C
Term formed by ORing of missing literal & its complement
Y AB AC BC
Y AB AC BC
.( ) .( ) .( )Y AB C C AC B B BC A A
![Page 12: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/12.jpg)
8/29/2017 12
Example 1 Continue….
Standard SOP form Each product term consists all the literals
.( ) .( ) .( )Y AB C C AC B B BC A A
Y ABC ABC ABC ABC ABC ABC
Y ABC ABC ABC ABC ABC ABC
Y ABC ABC ABC ABC
![Page 13: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/13.jpg)
Conversion of POS form to Standard POS
Procedure: 1. Write down all the terms. 2. If one or more variables are missing in any
sum term, expand the term by adding the products of each one of the missing variable and its complement .
3. Drop out the redundant terms
8/29/2017 13
![Page 14: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/14.jpg)
Example 2
8/29/2017 14
Convert given expression into its standard SOP form
Missing literal is A
Missing literal is B
Missing literal is C
Term formed by ANDing of missing literal & its complement
( ).( ) ( )Y A B A C B C
( ).( ).( )Y A B CC A C BB B C AA
( ).( ) ( )Y A B A C B C
![Page 15: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/15.jpg)
8/29/2017 15
Example 2 Continue….
Standard POS form Each sum term consists all the literals
( ).( ).( )Y A B CC A C BB B C AA
( )( ).( )( ).( )( )Y A B C A B C A B C A B C A B C A B C
( )( )( )( )Y A B C A B C A B C A B C
( )( )( )( )Y A B C A B C A B C A B C
![Page 16: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/16.jpg)
Concept of Minterm and Maxterm
Minterm: Each individual term in the standard SOP form is called as “Minterm”.
Maxterm: Each individual term in the standard
POS form is called as “Maxterm”.
8/29/2017 16
![Page 17: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/17.jpg)
The concept of minterm and max term allows us to introduce a very convenient shorthand notation to express logic functions
8/29/2017 17
![Page 18: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/18.jpg)
Minterms & Maxterms for 3 variable/literal logic function
8/29/2017 Amit Nevase 18
Variables Minterms Maxterms
A B C mi Mi
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
1ABC m
2ABC m
3ABC m
4ABC m
5ABC m
6ABC m
7ABC m
4A B C M
3A B C M
2A B C M
1A B C M
0A B C M 0ABC m
5A B C M
6A B C M
7A B C M
![Page 19: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/19.jpg)
Minterms and maxterms
Each minterm is represented by mi where i=0,1,2,3,…….,2n-1
Each maxterm is represented by Mi where i=0,1,2,3,…….,2n-1
If ‘n’ number of variables forms the function, then number of minterms or maxterms will be 2n • i.e. for 3 variables function f(A,B,C), the number of
minterms or maxterms are 23=8
8/29/2017 19
![Page 20: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/20.jpg)
Minterms & Maxterms for 2 variable/literal logic function
8/29/2017 20
Variables Minterms Maxterms
A B mi Mi
0 0
0 1
1 0
1 1
0AB m
1AB m
2AB m
3AB m 3A B M
2A B M
1A B M
0A B M
![Page 21: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/21.jpg)
Representation of Logical expression using minterm
8/29/2017 21
m7 m3 m4 m5
Logical Expression
Corresponding minterms
where denotes sum of products
OR
Y ABC ABC ABC ABC
7 3 4 5Y m m m m
(3,4,5,7)Y m
( , , ) (3,4,5,7)Y f A B C m
![Page 22: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/22.jpg)
Representation of Logical expression using maxterm
8/29/2017 22
M2 M0 M6
Logical Expression
Corresponding maxterms
where denotes product of sum
OR
( ).( ).( )Y A B C A B C A B C
2 0 6. .Y M M M
(0,2,6)Y M
( , , ) (0,2,6)Y f A B C M
![Page 23: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/23.jpg)
Conversion from SOP to POS & Vice versa
The relationship between the expressions using minters and maxterms is complementary.
We can exploit this complementary
relationship to write the expressions in terms of maxterms if the expression in terms of minterms is known and vice versa
8/29/2017 23
![Page 24: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/24.jpg)
Conversion from SOP to POS & Vice versa
For example, if a SOP expression for 4 variable is given by,
Then we can get the equivalent POS
expression using the complementary relationship as follows,
8/29/2017 24
(0,1,3,5,6,7,11,12,15)Y m
(2,4,8,9,10,13,14)Y M
![Page 25: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/25.jpg)
Examples
1. Convert the given expression into standard form
8/29/2017 25
2. Convert the given expression into standard form
Y A BC ABC
( ).( )Y A B A C
![Page 26: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/26.jpg)
Combinational Logic Circuits
Introduction Standard representation of canonical forms (SOP & POS),
Maxterm and Minterm , Conversion between SOP and POS forms
K-map reduction techniques upto 4 variables (SOP & POS form), Design of Half Adder, Full Adder, Half Subtractor & Full Subtractor using k-Map
Code Converter using K-map: Gray to Binary, Binary to Gray Code Converter (upto 4 bit)
IC 7447 as BCD to 7- Segment decoder driver IC 7483 as Adder & Subtractor, 1 Digit BCD Adder Block Schematic of ALU IC 74181 IC 74381
8/29/2017 26
![Page 27: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/27.jpg)
Karnaugh Map (K-map)
In the algebraic method of simplification, we need to write lengthy equations, find the common terms, manipulate the expressions etc., so it is time consuming work.
Thus “K-map” is another simplification
technique to reduce the Boolean equation.
8/29/2017 27
![Page 28: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/28.jpg)
It overcomes all the disadvantages of algebraic simplification techniques.
The information contained in a truth table or
available in the SOP or POS form is represented on K-map.
8/29/2017 28
Karnaugh Map (K-map)
![Page 29: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/29.jpg)
K-map Structure - 2 Variable A & B are variables or inputs 0 & 1 are values of A & B 2 variable k-map consists of 4 boxes i.e. 22=4
8/29/2017 29
Karnaugh Map (K-map)
A
B 0 1
0
1
![Page 30: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/30.jpg)
K-map Structure - 2 Variable Inside 4 boxes we have enter values of Y i.e.
output
8/29/2017 30
Karnaugh Map (K-map)
A
B 0 1
0
1
A
B 0 1
0
1
K-map & its associated minterms
AB
AB
AB
AB
0m 1m
3m2m
B
B
AA
![Page 31: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/31.jpg)
Relationship between Truth Table & K-map
8/29/2017 31
Karnaugh Map (K-map)
A
B 0 1
0
1
A B Y
0 0 0
0 1 1
1 0 0
1 1 1
0 0
1 1
B
A 0 1
0
1
0 1
1 0
B
B
AA
B B
A
A
![Page 32: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/32.jpg)
K-map Structure - 3 Variable A, B & C are variables or inputs 3 variable k-map consists of 8 boxes i.e. 23=8
8/29/2017 32
Karnaugh Map (K-map)
AB
C
0
1
BC
A 00
0
1
01 11 10
A BC 0 1
00
01
11
10
![Page 33: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/33.jpg)
3 Variable K-map & its associated product terms
8/29/2017 33
Karnaugh Map (K-map)
AB
C
0
1
BC
A 00
0
1
01 11 10
A BC 0 1
00
01
11
10
00 01 11 10
ABC ABC ABC ABC
ABC ABC ABC ABC
ABC
ABC
ABC ABC ABC
ABC
ABC
ABC
ABC
ABC
ABC
ABC
ABC
ABC
ABC
ABC
![Page 34: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/34.jpg)
3 Variable K-map & its associated minterms
8/29/2017 34
Karnaugh Map (K-map)
AB
C
0
1
BC
A 00
0
1
01 11 10
A BC 0 1
00
01
11
10
00 01 11 10
0m
4m 5m
1m
6m
2m3m
7m
5m
4m6m
7m
0m 2m
1m 3m0m 4m
5m1m
6m2m
3m 7m
![Page 35: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/35.jpg)
8/29/2017 35
Karnaugh Map (K-map)
AB
CD
00
00
01
01 11 10
11
10
CD
AB
00
00
01
01 11 10
11
10
K-map Structure - 4 Variable A, B, C & D are variables or inputs 4 variable k-map consists of 16 boxes i.e. 24=16
![Page 36: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/36.jpg)
8/29/2017 36
Karnaugh Map (K-map)
AB
CD
00
00
01
01 11 10
11
10
CD
AB
00
00
01
01 11 10
11
10
4 Variable K-map and its associated product terms
ABCD ABCD ABCD ABCD ABCD
ABCD ABCD ABCD ABCD
ABCD ABCD ABCD ABCD
ABCD ABCD ABCD ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
![Page 37: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/37.jpg)
8/29/2017 37
Karnaugh Map (K-map)
m0 m4 m12 m8
m1 m5 m13 m9
m3 m7 m15 m11
m2 m6 m11 m10
AB
CD
00
00
01
01 11 10
11
10
m0 m1 m3 m2
m4 m5 m7 m6
m12 m13 m15 m14
m8 m9 m11 m10
CD
AB
00
00
01
01 11 10
11
10
4 Variable K-map and its associated minterms
![Page 38: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/38.jpg)
Representation of Standard SOP form expression on K-map
For example, SOP equation is given as
8/29/2017 38
The given expression is in the standard SOP form. Each term represents a minterm. We have to enter ‘1’ in the boxes corresponding to each
minterm as below
1 1 0 0
1 0 1 1
BC
A 00
0
1
01 11 10
Y ABC ABC ABC ABC ABC
ABC ABC
ABC
ABC
ABC
BC BC BC BC
A
A
![Page 39: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/39.jpg)
Simplification of K-map
Once we plot the logic function or truth table on K-map, we have to use the grouping technique for simplifying the logic function.
Grouping means the combining the terms in adjacent cells.
The grouping of either 1’s or 0’s results in the simplification of boolean expression.
8/29/2017 39
![Page 40: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/40.jpg)
If we group the adjacent 1’s then the result of simplification is SOP form
If we group the adjacent 0’s then the result of simplification is POS form
8/29/2017 40
Simplification of K-map
![Page 41: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/41.jpg)
Grouping
While grouping, we should group most number of 1’s.
The grouping follows the binary rule i.e we can group 1,2,4,8,16,32,…..…number of 1’s.
We cannot group 3,5,7,………number of 1’s Pair: A group of two adjacent 1’s is called as
Pair Quad: A group of four adjacent 1’s is called as
Quad Octet: A group of eight adjacent 1’s is called as
Octet 8/29/2017 41
![Page 42: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/42.jpg)
Grouping of Two Adjacent 1’s : Pair
A pair eliminates 1 variable
8/29/2017 42
0 0 1 1
0 0 0 0
BC
A 00
0
1
01 11 10
BC BC BC BC
A
A
ABCABC
Y ABC ABC
( )Y AB C C
( 1)Y AB C C
![Page 43: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/43.jpg)
8/29/2017 43
0 0 0 0
1 0 0 1
BC
A 00
0
1
01 11 10
0 1 0 0
0 1 0 0
BC
A 00
0
1
01 11 10
1 1
1 0
B
A 0
0
1
1
0 1 1 1
0 0 1 0
BC
A 00
0
1
01 11 10
Grouping of Two Adjacent 1’s : Pair
BC BC BC BC
A
A
BC BC BC BC
A
A
B B
A
A
BC BC BC BC
A
A
![Page 44: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/44.jpg)
8/29/2017 44
0 1 0 0
0 0 0 0
0 0 0 0
0 1 0 0
CD
AB 00 01 11 10
00
01
11
10
Grouping of Two Adjacent 1’s : Pair
CD CD CD CD
AB
AB
AB
AB
![Page 45: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/45.jpg)
8/29/2017 45
Possible Grouping of Four Adjacent 1’s : Quad
0 0 0 0
0 0 0 0
0 0 0 0
1 1 1 1
CD
AB 00 01 11 10
00
01
11
10
0 1 0 0
0 1 0 0
0 1 0 0
0 1 0 0
CD
AB 00 01 11 10
00
01
11
10
A Quad eliminates 2 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 46: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/46.jpg)
8/29/2017 46
Possible Grouping of Four Adjacent 1’s : Quad
0 0 0 0
1 1 0 0
1 1 0 0
0 0 0 0
CD
AB 00 01 11 10
00
01
11
10
0 1 1 0
0 0 0 0
0 0 0 0
0 1 1 0
CD
AB 00 01 11 10
00
01
11
10
A Quad eliminates 2 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 47: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/47.jpg)
8/29/2017 47
Possible Grouping of Four Adjacent 1’s : Quad
1 0 0 1
0 0 0 0
0 0 0 0
1 0 0 1
CD
AB 00 01 11 10
00
01
11
10
0 0 0 0
1 0 0 1
1 0 0 1
0 0 0 0
CD
AB 00 01 11 10
00
01
11
10
A Quad eliminates 2 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 48: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/48.jpg)
8/29/2017 48
Possible Grouping of Four Adjacent 1’s : Quad
0 0 0 0
0 1 1 1
0 1 1 1
0 0 0 0
CD
AB 00 01 11 10
00
01
11
10
0 0 0 0
0 1 1 0
0 1 1 0
0 1 1 0
CD
AB 00 01 11 10
00
01
11
10
A Quad eliminates 2 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 49: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/49.jpg)
8/29/2017 49
Possible Grouping of Eight Adjacent 1’s : Octet
0 0 0 0
0 0 0 0
1 1 1 1
1 1 1 1
CD
AB 00 01 11 10
00
01
11
10
0 1 1 0
0 1 1 0
0 1 1 0
0 1 1 0
CD
AB 00 01 11 10
00
01
11
10
A Octet eliminates 3 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 50: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/50.jpg)
8/29/2017 50
Possible Grouping of Eight Adjacent 1’s : Octet
1 1 1 1
0 0 0 0
0 0 0 0
1 1 1 1
CD
AB 00 01 11 10
00
01
11
10
1 0 0 1
1 0 0 1
1 0 0 1
1 0 0 1
CD
AB 00 01 11 10
00
01
11
10
A Octet eliminates 3 variable
CD CD CD CD
AB
AB
AB
AB
CD CD CD CD
AB
AB
AB
AB
![Page 51: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/51.jpg)
Rules for K-map simplification
1. Groups may not include any cell containing a zero.
8/29/2017 51
0
1
A
B 0 1
0
1
0
1 1
A
B 0 1
0
1
Not Accepted Accepted
B
B
AA
B
B
AA
![Page 52: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/52.jpg)
Rules for K-map simplification
2. Groups may be horizontal or vertical, but may not be diagonal
8/29/2017 52
0 1
1 0
A
B 0 1
0
1
0 1
1 1
A
B 0 1
0
1
Not Accepted Accepted
B
B
AA
B
B
AA
![Page 53: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/53.jpg)
Rules for K-map simplification
3. Groups must contain 1,2,4,8 or in general 2n cells
8/29/2017 53
1 1
0 1
A
B 0 1
0
1
1 1
0 1
A
B 0 1
0
1
Not Accepted Accepted
0 1 1 1
0 0 0 0
BC
A 00
0
1
01 11 10
0 1 1 1
0 0 0 0
BC
A 00
0
1
01 11 10
B
B
AA
B
B
AA
BC BC BC BC
A
A
BC BC BC BC
A
A
![Page 54: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/54.jpg)
Rules for K-map simplification
4. Each group should be as large as possible
8/29/2017 54
Not Accepted Accepted
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10 BC BC BC BC
A
A
BC BC BC BC
A
A
![Page 55: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/55.jpg)
Rules for K-map simplification
5. Each cell containing a one must be in at least one group
8/29/2017 55
0 0 0 1
0 0 1 0
BC
A 00
0
1
01 11 10
BC BC BC BC
A
A
![Page 56: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/56.jpg)
Rules for K-map simplification
6. Groups may be overlap
8/29/2017 56
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10
BC BC BC BC
A
A
![Page 57: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/57.jpg)
Rules for K-map simplification
7. Groups may wrap around the table. The leftmost cell in
a row may be grouped with rightmost cell and the top cell in a column may be grouped with bottom cell
8/29/2017 57
1 0 0 1
1 0 0 1
BC
A 00
0
1
01 11 10 1 1 1 1
0 0 0 0
0 0 0 0
1 1 1 1
CD
AB 00 01 11 10
00
01
11
10
BC BC BC BC
A
A
CD CD CD CD
AB
AB
AB
AB
![Page 58: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/58.jpg)
Rules for K-map simplification
8. There should be as few groups as possible, as long as this does not contradict any of the previous rules.
8/29/2017 58
Not Accepted Accepted
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10 BC BC BC BC
A
A
BC BC BC BC
A
A
![Page 59: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/59.jpg)
9. A pair eliminates one variable. 10. A Quad eliminates two variables. 11. A octet eliminates three variables
8/29/2017 59
Rules for K-map simplification
![Page 60: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/60.jpg)
Example 1
For the given K-map write simplified Boolean expression
8/29/2017 60
0 1 1 1
0 0 1 0
AB
C 00
0
1
01 11 10
AB AB AB AB
C
C
![Page 61: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/61.jpg)
Example 1 continue…..
8/29/2017 61
0 1 1 1
0 0 1 0
AB
C 00
0
1
01 11 10
Simplified Boolean expression
AB AB AB AB
C
C
AC
ABBC
Y BC AB AC
![Page 62: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/62.jpg)
Example 2
For the given K-map write simplified Boolean expression
8/29/2017 62
1 1 0 1
1 0 0 1
AB
C 00
0
1
01 11 10
AB AB AB AB
C
C
![Page 63: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/63.jpg)
Example 2 continue…..
8/29/2017 63
1 1 0 1
1 0 0 1
AB
C 00
0
1
01 11 10
Simplified Boolean expression
AB AB AB AB
C
C
AC B
Y B AC
![Page 64: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/64.jpg)
Example 3
A logical expression in the standard SOP form is as follows; Minimize it with using the K-map technique
8/29/2017 64
Y ABC ABC ABC ABC
![Page 65: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/65.jpg)
Example 3 continue……
8/29/2017 65
1 0 1 1
0 1 0 0
BC
A 00
0
1
01 11 10
Simplified Boolean expression
Y ABC ABC ABC ABC
BC BC BC BC
A
A
ABC
AB
AC
Y AC AB ABC
![Page 66: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/66.jpg)
Example 4
A logical expression representing a logic circuit is; Draw the K-map and find the minimized logical expression
8/29/2017 66
(0,1,2,5,13,15)Y m
![Page 67: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/67.jpg)
Example 4 continue…..
8/29/2017 67
1 1 0 1
0 1 0 0
0 1 1 0
0 0 0 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
(0,1,2,5,13,15)Y m
CD CD CD CD
AB
AB
AB
AB
ABD
ABDACD
Y ABD ACD ABD
![Page 68: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/68.jpg)
Example 5
Minimize the following Boolean expression using K-map ;
8/29/2017 68
( , , , ) (1,3,5,9,11,13)f A B C D m
![Page 69: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/69.jpg)
Example 5 continue…..
8/29/2017 69
0 1 1 0
0 1 0 0
0 1 0 0
0 1 1 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
CD CD CD CD
AB
AB
AB
AB
CDBD
f BD CD
( , , , ) (1,3,5,9,11,13)f A B C D m
( )f D B C
![Page 70: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/70.jpg)
Example 6
Minimize the following Boolean expression using K-map ;
8/29/2017 70
( , , , ) (4,5,8,9,11,12,13,15)f A B C D m
![Page 71: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/71.jpg)
Example 6 continue…..
8/29/2017 71
0 0 0 0
1 1 0 0
1 1 1 0
1 1 1 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
CD CD CD CD
AB
AB
AB
AB
ADAC
f BC AC AD
( , , , ) (4,5,8,9,11,12,13,15)f A B C D m
BC
![Page 72: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/72.jpg)
Example 7
Minimize the following Boolean expression using K-map ;
8/29/2017 72
2( , , , ) (0,1,2,3,11,12,14,15)f A B C D m
![Page 73: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/73.jpg)
Example 7 continue…..
8/29/2017 73
1 1 1 1
0 0 0 0
1 0 1 1
0 0 1 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
CD CD CD CD
AB
AB
AB
AB
ACDABD
2f AB ABD ACD
AB
2( , , , ) (0,1,2,3,11,12,14,15)f A B C D m
![Page 74: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/74.jpg)
Example 8
Solve the following expression with K-maps; 1. 2.
8/29/2017 74
1( , , ) (0,1,3,4,5)f A B C m
2( , , ) (0,1,2,3,6,7)f A B C m
![Page 75: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/75.jpg)
8/29/2017 75
Example 8 continue……
1 1 1 0
1 1 0 0
BC
A 00
0
1
01 11 10
0 1 3 2
4 5 7 6
1 1 1 1
0 0 1 1
BC
A 00
0
1
01 11 10
0 1 3 2
4 5 7 6
Simplified Boolean expression
Simplified Boolean expression
1( , , ) (0,1,3,4,5)f A B C m 2( , , ) (0,1,2,3,6,7)f A B C m
BC BC BC BC
A
A
BC BC BC BC
A
A
AC
BBA
2f A B 1f AC B
![Page 76: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/76.jpg)
Example 9
Simplify ;
8/29/2017 76
( , , , ) (0,1,4,5,7,8,9,12,13,15)f A B C D m
![Page 77: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/77.jpg)
Example 9 continue…..
8/29/2017 77
1 1 0 0
1 1 1 0
1 1 1 0
1 1 0 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
CD CD CD CD
AB
AB
AB
AB
BDC
f C BD
( , , , ) (0,1,4,5,7,8,9,12,13,15)f A B C D m
![Page 78: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/78.jpg)
Example 10
Solve the following expression with K-maps; 1. 2.
8/29/2017 78
1( , , , ) (0,1,3,4,5,7)f A B C D m
2( , , ) (0,1,3,4,5,7)f A B C m
![Page 79: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/79.jpg)
8/29/2017 79
Example 10 continue……
1 1 1 0
1 1 1 0
BC
A 00
0
1
01 11 10
0 1 3 2
4 5 7 6
Simplified Boolean expression
Simplified Boolean expression
1 1 0 0
1 1 1 0
0 0 0 0
0 0 0 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14
BC BC BC BC
A
A
CB
2f B C
1f AC AD
1( , , , ) (0,1,3,4,5,7)f A B C D m 2( , , ) (0,1,3,4,5,7)f A B C m
CD CD CD CD
AB
AB
AD
AB
AB
AC
![Page 80: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/80.jpg)
K-map and don’t care conditions
For SOP form we enter 1’s corresponding to the combinations of input variables which produce a high output and we enter 0’s in the remaining cells of the K-map.
For POS form we enter 0’s corresponding to the combinations of input variables which produce a high output and we enter 1’s in the remaining cells of the K-map.
8/29/2017 80
![Page 81: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/81.jpg)
But it is not always true that the cells not containing 1’s (in SOP) will contain 0’s, because some combinations of input variable do not occur.
Also for some functions the outputs corresponding to certain combinations of input variables do not matter.
8/29/2017 81
K-map and don’t care conditions
![Page 82: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/82.jpg)
In such situations we have a freedom to assume a 0 or 1 as output for each of these combinations.
These conditions are known as the “Don’t Care Conditions” and in the K-map it is represented as ‘X’, in the corresponding cell.
The don’t care conditions may be assumed to be 0 or 1 as per the need for simplification
8/29/2017 82
K-map and don’t care conditions
![Page 83: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/83.jpg)
8/29/2017 83
K-map and don’t care conditions - Example
Simplify ;
( , , , ) (1,3,7,11,15) (0,2,5)f A B C D m d
![Page 84: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/84.jpg)
8/29/2017 Amit Nevase 84
X 1 1 X
0 X 1 0
0 0 1 0
0 0 1 0
CD
AB 00 01 11 10
00
01
11
10
0 1 3 2
4 5 7 6
8 9 11 10
12 13 15 14 Simplified Boolean expression
K-map and don’t care conditions - Example
CD CD CD CD
AB
AB
AB
AB
CDAB
f CD AB AD
( , , , ) (1,3,7,11,15) (0,2,5)f A B C D m d
AD
![Page 85: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/85.jpg)
![Page 86: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/86.jpg)
![Page 87: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/87.jpg)
![Page 88: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/88.jpg)
![Page 89: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/89.jpg)
![Page 90: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/90.jpg)
![Page 91: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/91.jpg)
![Page 92: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/92.jpg)
![Page 93: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/93.jpg)
![Page 94: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/94.jpg)
![Page 95: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/95.jpg)
![Page 96: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/96.jpg)
![Page 97: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/97.jpg)
![Page 98: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/98.jpg)
![Page 99: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/99.jpg)
![Page 100: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/100.jpg)
![Page 101: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/101.jpg)
![Page 102: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/102.jpg)
![Page 103: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/103.jpg)
![Page 104: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/104.jpg)
![Page 105: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/105.jpg)
![Page 106: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/106.jpg)
![Page 107: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/107.jpg)
![Page 108: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/108.jpg)
![Page 109: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/109.jpg)
![Page 110: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/110.jpg)
![Page 111: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/111.jpg)
![Page 112: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/112.jpg)
![Page 113: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/113.jpg)
![Page 114: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/114.jpg)
![Page 115: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/115.jpg)
![Page 116: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/116.jpg)
![Page 117: Pune Vidyarthi Griha’s · Block Schematic of ALU IC 74181 IC 74381 8/29/2017 26. Karnaugh Map (K-map) In the algebraic method of simplification, we need to write lengthy equations,](https://reader036.vdocuments.us/reader036/viewer/2022081507/5bad56c009d3f2b47d8d6bf7/html5/thumbnails/117.jpg)