SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Shri S’ad Vidya Mandal
Institute Of Technology
BHARUCH - 392001, GUJARAT
[KarnaughMap]
Presented By:
Gauresh Mehta ,
Shivang Mehta.
Guided By:-
Nishant N. Parmar
What is K-map ?
 K-maps provide an alternative way of simplifying
logic circuits.
 Instead of using Boolean algebra simplification
techniques, you can transfer logic values from a
Boolean statement or a truth table into a k-map.
 The arrangement of 0's and 1's within the map
helps you to visualize the logic relationships
between the variables and leads directly to a
simplified Boolean statement.
 K-map simplification of Boolean equation can
be done easily and systematically.
 This method is used to given simplification of
two, three or four-variable switching function.
 This method can be used for more than four
variables also but it becomes complicated.
 It gives the most simplified form of the
expression.
Method Of Constructing K-map
 K-maps consists of cell or squares.
 If there are n variable in function, the number of
cell become 2n, so for two variable, no of cell will
be 22 =4.
 For three variable it will 8 and for variables it will
be 16, with the help of K-MAP simplification of
switching function can be given by very easily
and systematically.
 Each cell is represented by binary number or its
decimal number.
 Simplification of logic expression using
Boolean algebra is awkward because:.
 It lacks specific rule to predict the most suitable next
step in the simplification process.
 It is difficult to determine whether the simplest form
has been achieved.
 K-map is a graphical method used to obtained
the most simplified form of an expression in a
standard form (Sum-of-Products or Product-of-
Sums).
 The simplest form of an expression is the one
that has the minimum number of terms with the
least number of literals (variables) in each term.
 By simplifying an expression to the one that uses
the minimum number of terms, we ensure that the
function will be implemented with the minimum
number of gates.
 By simplifying an expression to the one that uses
the least number of literals for each terms, we
ensure that the function will be implemented with
gates that have the minimum number of inputs.
Grouping of K-map variables
There are some rules to follow while we are grouping
the variables in K-maps.
1. The square that contains ‘1’ should be taken in simplifying,
at least once.
2. The square that contains ‘1’ can be considered as many
times as the grouping is possible with it.
3. Group shouldn’t include any zeros (0).
4. A group should be the as large as possible.
5. Groups can be horizontal or vertical. Grouping of variables
in diagonal manner is not allowed.
K map
Types of k-map
I. Two - variable k-map
II. Three - variable k-map
III. Four - variable k-map
Two Variable K-MAP
 K-map for two variables is show in figure. It has two
rows and two columns, so there are four cells.
 The possible min terms with 2 variables (A and B)
are A.B, A.B’, A’.B and A’.B’.
 The following table shows the positions of all the
possible outputs of 2-variable Boolean function on a
K-map.
 we group the adjacent cells with possible sizes as
2 or 4. In case of larger k-maps, we can group
the variables in larger sizes like 8 or 16.
 The groups of variables should be in rectangular
shape, that means the groups formed by either
vertically or horizontally.
 Diagonal shaped or “L” shaped groups are not
allowed.
Example
First, let’s construct the truth
table for the given equation
We put 1 at the output terms
given in equation.
In this K-map, we can create 2 groups by following the rules for
grouping,
→ one is by combining (X’, Y) and (X’, Y’) terms and the other
is by combining (X, Y’) and (X’, Y’) terms.
the next step is determining the minimized expression such as by
taking out the common terms from two groups
i.e. X’ and Y’. So the reduced equation will be X’ +Y’.
Three Variable K-MAP
 For a 3-variable Boolean function, there is a possibility
of 8 output min terms. The general representation of all
the min terms using 3-variables is shown below.
 A typical plot of a 3-variable K-map is shown below. It
can be observed that the positions of columns 10 and
11 are interchanged so that there is only change in one
variable across adjacent cells.
 Up to 8 cells can be grouped in case of a 3-variable K-
map.
Example
First, let’s construct the truth
table for the given equation
We put 1 at the output terms
given in equation.
→ The largest group size will be
8 but we can also form the
groups of size 4 and size 2, by
possibility.
→ So the size 4 group is formed
as shown below.
And in both the terms, we have ‘Y’ in common. So the group
of size 4 is reduced as the conjunction Y.
The 2 size group has no common variables, so they are written
with their variables and its conjugates. So the reduced
equation will be Y’ + ZX + Z’X’.
Four Variable K-MAP
There are 16 possible min terms in case of a 4-variable
Boolean function. The general representation of minterms
using 4 variables is shown below.
Example
Simplify the given 4-variable Boolean equation by using k-map.
F (W, X, Y, Z) = (1, 5, 12, 13)
By preparing k-map, we can minimize the given Boolean
equation as
F = W Y’ Z + W ‘Y’ Z
Thank You,.

More Related Content

PPTX
PPT
KARNAUGH MAP(K-MAP)
PPTX
PPTX
PPTX
Rules of Karnaugh Map
PPT
K Map Simplification
PDF
Kmap..(karnaugh map)
KARNAUGH MAP(K-MAP)
Rules of Karnaugh Map
K Map Simplification
Kmap..(karnaugh map)

What's hot (20)

PPTX
latches
PPTX
Multiplication algorithm
PPT
boolean algebra and logic simplification
PPTX
Ring Counter.pptx
PPTX
Code conversion
PPT
carry look ahead adder
PPTX
Sequential circuit design
PPTX
Encoders and decoders
PPTX
Presentation on Karnaugh Map
PPTX
Parity Generator and Parity Checker
PPT
Boolean Algebra
PPT
Combinational circuits
PPT
Flip-Flop || Digital Electronics
PPTX
11. Parity Generator_Checker.pptx
PDF
JK flip flops
PDF
Karnaugh Map (K-map)
PDF
Flip Flop and Its Types
PPTX
K - Map
PPT
KMAP
PPTX
D flip Flop
latches
Multiplication algorithm
boolean algebra and logic simplification
Ring Counter.pptx
Code conversion
carry look ahead adder
Sequential circuit design
Encoders and decoders
Presentation on Karnaugh Map
Parity Generator and Parity Checker
Boolean Algebra
Combinational circuits
Flip-Flop || Digital Electronics
11. Parity Generator_Checker.pptx
JK flip flops
Karnaugh Map (K-map)
Flip Flop and Its Types
K - Map
KMAP
D flip Flop
Ad

Similar to K map (20)

PPTX
DLD Presentation – K-Map (2 & 3 Variable).pptx
PPTX
Karnaugh map peresentation
PDF
Lecture08_Karnaug_hmaps_introduction.pdf
PPTX
Karnaugh Map
PPT
03_Karnaugh_Maps.ppt
PPT
Karnaugh_Maps Chapter 3 Special Sections
PPT
03_Karnaugh_Maps.ppt
PPTX
Discrete Mathmatics, Boolean Algebra, K-Map
PPTX
Map Simplification in computer organization architecture
PDF
Chapter-3.pdf
PDF
Chapter-3.pdf
PPTX
cume106 Electrical n Electronic principles Kmaps.pptx
PPTX
Engineering electronics and electrical 3 K-Maps.pptx
PPTX
Lecture_39_K-Map for minimization of Boolean expressions .pptx
PPT
AI Lecture 1 K Maps Gate Level Minimization
PPTX
Chapter 3 .pptx
PDF
Karnaugh map
PPT
Digital Logic design. Chapter 3, Karnaugh maps
PDF
Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2...
DLD Presentation – K-Map (2 & 3 Variable).pptx
Karnaugh map peresentation
Lecture08_Karnaug_hmaps_introduction.pdf
Karnaugh Map
03_Karnaugh_Maps.ppt
Karnaugh_Maps Chapter 3 Special Sections
03_Karnaugh_Maps.ppt
Discrete Mathmatics, Boolean Algebra, K-Map
Map Simplification in computer organization architecture
Chapter-3.pdf
Chapter-3.pdf
cume106 Electrical n Electronic principles Kmaps.pptx
Engineering electronics and electrical 3 K-Maps.pptx
Lecture_39_K-Map for minimization of Boolean expressions .pptx
AI Lecture 1 K Maps Gate Level Minimization
Chapter 3 .pptx
Karnaugh map
Digital Logic design. Chapter 3, Karnaugh maps
Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2...
Ad

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Geodesy 1.pptx...............................................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Well-logging-methods_new................
PPTX
web development for engineering and engineering
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPT
Project quality management in manufacturing
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
UNIT 4 Total Quality Management .pptx
Foundation to blockchain - A guide to Blockchain Tech
Geodesy 1.pptx...............................................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Well-logging-methods_new................
web development for engineering and engineering
Embodied AI: Ushering in the Next Era of Intelligent Systems
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Project quality management in manufacturing
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Lesson 3_Tessellation.pptx finite Mathematics
CYBER-CRIMES AND SECURITY A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx

K map

  • 1. Shri S’ad Vidya Mandal Institute Of Technology BHARUCH - 392001, GUJARAT [KarnaughMap] Presented By: Gauresh Mehta , Shivang Mehta. Guided By:- Nishant N. Parmar
  • 2. What is K-map ?  K-maps provide an alternative way of simplifying logic circuits.  Instead of using Boolean algebra simplification techniques, you can transfer logic values from a Boolean statement or a truth table into a k-map.  The arrangement of 0's and 1's within the map helps you to visualize the logic relationships between the variables and leads directly to a simplified Boolean statement.
  • 3.  K-map simplification of Boolean equation can be done easily and systematically.  This method is used to given simplification of two, three or four-variable switching function.  This method can be used for more than four variables also but it becomes complicated.  It gives the most simplified form of the expression.
  • 4. Method Of Constructing K-map  K-maps consists of cell or squares.  If there are n variable in function, the number of cell become 2n, so for two variable, no of cell will be 22 =4.  For three variable it will 8 and for variables it will be 16, with the help of K-MAP simplification of switching function can be given by very easily and systematically.  Each cell is represented by binary number or its decimal number.
  • 5.  Simplification of logic expression using Boolean algebra is awkward because:.  It lacks specific rule to predict the most suitable next step in the simplification process.  It is difficult to determine whether the simplest form has been achieved.  K-map is a graphical method used to obtained the most simplified form of an expression in a standard form (Sum-of-Products or Product-of- Sums).  The simplest form of an expression is the one that has the minimum number of terms with the least number of literals (variables) in each term.
  • 6.  By simplifying an expression to the one that uses the minimum number of terms, we ensure that the function will be implemented with the minimum number of gates.  By simplifying an expression to the one that uses the least number of literals for each terms, we ensure that the function will be implemented with gates that have the minimum number of inputs.
  • 7. Grouping of K-map variables There are some rules to follow while we are grouping the variables in K-maps. 1. The square that contains ‘1’ should be taken in simplifying, at least once. 2. The square that contains ‘1’ can be considered as many times as the grouping is possible with it. 3. Group shouldn’t include any zeros (0). 4. A group should be the as large as possible. 5. Groups can be horizontal or vertical. Grouping of variables in diagonal manner is not allowed.
  • 9. Types of k-map I. Two - variable k-map II. Three - variable k-map III. Four - variable k-map
  • 10. Two Variable K-MAP  K-map for two variables is show in figure. It has two rows and two columns, so there are four cells.  The possible min terms with 2 variables (A and B) are A.B, A.B’, A’.B and A’.B’.  The following table shows the positions of all the possible outputs of 2-variable Boolean function on a K-map.
  • 11.  we group the adjacent cells with possible sizes as 2 or 4. In case of larger k-maps, we can group the variables in larger sizes like 8 or 16.  The groups of variables should be in rectangular shape, that means the groups formed by either vertically or horizontally.  Diagonal shaped or “L” shaped groups are not allowed.
  • 12. Example First, let’s construct the truth table for the given equation We put 1 at the output terms given in equation. In this K-map, we can create 2 groups by following the rules for grouping, → one is by combining (X’, Y) and (X’, Y’) terms and the other is by combining (X, Y’) and (X’, Y’) terms. the next step is determining the minimized expression such as by taking out the common terms from two groups i.e. X’ and Y’. So the reduced equation will be X’ +Y’.
  • 13. Three Variable K-MAP  For a 3-variable Boolean function, there is a possibility of 8 output min terms. The general representation of all the min terms using 3-variables is shown below.
  • 14.  A typical plot of a 3-variable K-map is shown below. It can be observed that the positions of columns 10 and 11 are interchanged so that there is only change in one variable across adjacent cells.  Up to 8 cells can be grouped in case of a 3-variable K- map.
  • 15. Example First, let’s construct the truth table for the given equation We put 1 at the output terms given in equation. → The largest group size will be 8 but we can also form the groups of size 4 and size 2, by possibility. → So the size 4 group is formed as shown below.
  • 16. And in both the terms, we have ‘Y’ in common. So the group of size 4 is reduced as the conjunction Y. The 2 size group has no common variables, so they are written with their variables and its conjugates. So the reduced equation will be Y’ + ZX + Z’X’.
  • 17. Four Variable K-MAP There are 16 possible min terms in case of a 4-variable Boolean function. The general representation of minterms using 4 variables is shown below.
  • 18. Example Simplify the given 4-variable Boolean equation by using k-map. F (W, X, Y, Z) = (1, 5, 12, 13) By preparing k-map, we can minimize the given Boolean equation as F = W Y’ Z + W ‘Y’ Z