SlideShare a Scribd company logo
1 of 23
Karnaugh Map Method
Karnaugh Map Technique
 K-Maps, like truth tables, are a way to show
the relationship between logic inputs and
desired outputs.
 K-Maps are a graphical technique used to
simplify a logic equation.
 K-Maps are very procedural and much
cleaner than Boolean simplification.
 K-Maps can be used for any number of
input variables, BUT are only practical for
fewer than six.
K-Map Format
 Each minterm in a truth table corresponds to a
cell in the K-Map.
 K-Map cells are labeled so that both horizontal
and vertical movement differ only in one
variable.
 Once a K-Map is filled (0’s & 1’s) the sum-of-
products expression for the function can be
obtained by OR-ing together the cells that
contain 1’s.
 Since the adjacent cells differ by only one
variable, they can be grouped to create simpler
terms in the sum-of-product expression.
Y
Y
X X
0
1
2
3
Truth Table -TO- K-Map
Y
0
1
0
1
Z
1
0
1
1
X
0
0
1
1
minterm 0 
minterm 1 
minterm 2 
minterm 3 
1
1
0
1
Y
Y
X X
0
0
1
0
X Y
Y
Y
X X
0
0
0
1 X Y
Y
Y
X X
1
0
0
0
X Y
Y
Y
X X
0
1
0
0 X Y
2 Variable K-Map : Groups of One
Adjacent Cells
X Y
Y
Y
X X
1
0
1
0
X Y
Y
Y
X X
1
0
1
0
Y = Z
Z = X Y + X Y = Y ( X + X ) = Y
1
Groupings
 Grouping a pair of adjacent 1’s eliminates the
variable that appears in complemented and
uncomplemented form.
 Grouping a quad of 1’s eliminates the two
variables that appear in both complemented
and uncomplemented form.
 Grouping an octet of 1’s eliminates the three
variables that appear in both complemented
and uncomplemented form, etc…..
Y
Y
X X
1
1
0
0
X
X
Y
Y
X X
1
0
1
0
Y
Y
2 Variable K-Map : Groups of Two
Y
Y
X X
0
1
0
1
Y
Y
X X
0
0
1
1
Y
Y
X X
1
1
1
1
1
2 Variable K-Map : Group of Four
Two Variable Design Example
S
S
R R
0
1
2
3
S
0
1
0
1
T
1
0
1
0
R
0
0
1
1
1
0
1
0
S
T = F(R,S) = S
3 Variable K-Map : Vertical
minterm 0 
minterm 1 
minterm 2 
minterm 3 
minterm 4 
minterm 5 
minterm 6 
minterm 7 
C
0
1
0
1
0
1
0
1
Y
1
0
1
1
0
0
1
0
B
0
0
1
1
0
0
1
1
A
0
0
0
0
1
1
1
1
1
0
0
0
1
1
0
1
A A
B C
B C
B C
B C
0
1
4
5
3
2
7
6
3 Variable K-Map : Horizontal
C
C
A B A B A B
A B
minterm 0 
minterm 1 
minterm 2 
minterm 3 
minterm 4 
minterm 5 
minterm 6 
minterm 7 
C
0
1
0
1
0
1
0
1
Y
1
0
1
1
0
0
1
0
B
0
0
1
1
0
0
1
1
A
0
0
0
0
1
1
1
1
1
0
1
1
1
0
0
0
0
1
2
3
6
7
4
5
3 Variable K-Map : Groups of Two
C
C
A B A B A B
A B
1
0
1
0
0
0
0
0
A C
0
1
0
1
0
0
0
0
A C
0
0
0
0
1
0
1
0
A C
0
0
0
0
0
1
0
1
A C
0
0
1
0
1
0
0
0
B C
0
0
0
1
0
1
0
0
B C
1
0
0
0
0
0
1
0
B C
0
1
0
0
0
0
0
1
B C
1
1
0
0
0
0
0
0
A B
0
0
1
1
0
0
0
0
A B
0
0
0
0
1
1
0
0
A B
0
0
0
0
0
0
1
1
A B
3 Variable K-Map : Groups of Four
C
C
A B A B A B
A B
1
1
1
1
0
0
0
0
A
0
0
0
0
1
1
1
1
A
0
0
1
1
1
1
0
0
B
1
1
0
0
0
0
1
1
B
1
0
1
0
1
0
1
0
C
0
1
0
1
0
1
0
1
C
3 Variable K-Map : Group of Eight
C
C
A B A B A B
A B
1
1
1
1
1
1
1
1
1
Simplification Process
1. Construct the K-Map and place 1’s in cells corresponding
to the 1’s in the truth table. Place 0’s in the other cells.
2. Examine the map for adjacent 1’s and group those 1’s
which are NOT adjacent to any others. These are called
isolated 1’s.
3. Group any hex.
4. Group any octet, even if it contains some 1’s already
grouped, but are not enclosed in a hex.
5. Group any quad, even if it contains some 1’s already
grouped, but are not enclosed in a hex or octet.
6. Group any pair, even if it contains some 1’s already
grouped, but are not enclosed in a hex, octet or quad.
7. Group any single cells remaining.
8. Form the OR sum of all the terms grouped.
Three Variable Design Example #1
L
0
1
0
1
0
1
0
1
M
1
0
1
1
0
1
0
0
K
0
0
1
1
0
0
1
1
J
0
0
0
0
1
1
1
1
1
0
1
1
0
0
0
1
L
L
J K J K J K
J K
0
1
2
3
6
7
4
5
J L
J K J K L
M = F(J,K,L) = J L + J K + J K L
Three Variable Design Example #2
C
0
1
0
1
0
1
0
1
Z
1
0
0
0
1
1
0
1
B
0
0
1
1
0
0
1
1
A
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
C
C
A B A B A B
A B
0
1
2
3
6
7
4
5
B C
A C
Z = F(A,B,C) = A C + B C
Three Variable Design Example #3
C
0
1
0
1
0
1
0
1
F2
1
0
0
1
1
1
0
1
B
0
0
1
1
0
0
1
1
A
0
0
0
0
1
1
1
1
1
1
0
1
1
1
0
0
A
A
B C B C B C
B C
0 1 2
3
6
7
4 5
B C B C
A B
A C
F2 = F(A,B,C) = B C + B C + A B
F2 = F(A,B,C) = B C + B C + A C
Four Variable K-Map
minterm 0 
minterm 1 
minterm 2 
minterm 3 
minterm 4 
minterm 5 
minterm 6 
minterm 7 
minterm 8 
minterm 9 
minterm 10 
minterm 11 
minterm 12 
minterm 13 
minterm 14 
minterm 15 
Z
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
F1
1
0
0
0
1
1
0
1
1
1
0
0
0
1
1
1
Y
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
X
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
W
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
1
4
5
12
13
8
9
3
2
7
6
15
14
11
10
W X W X W X
W X
Y Z
Y Z
Y Z
Y Z
0
0
1
0
1
1
0
0
1
0
1
1
0
1
1
1
Four Variable K-Map : Groups of Four
W X W X W X
W X
Y Z
Y Z
Y Z
Y Z
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
X Z
0
0
0
1
0
1
0
0
0
0
1
0
1
0
0
0
X Z
X Z
0
1
0
0
0
0
0
1
1
0
0
0
0
0
1
0
Four Variable Design Example #1
Z
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
F1
1
0
1
0
1
0
1
0
0
0
1
0
1
1
0
0
Y
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
X
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
W
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
1
4
5
12
13
8
9
3
2
7
6
15
14
11
10
W X W X W X
W X
Y Z
Y Z
Y Z
Y Z
0
1
0
1
0
0
0
1
1
0
1
0
1
1
0
0
W X Y
X Y Z
W Z
F1 = F(w,x,y,z) = W X Y + W Z + X Y Z
min 0 
min 15 
Four Variable Design Example #2
Z
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
F2
1
x
1
0
0
x
0
x
x
1
0
1
x
1
1
1
Y
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
X
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
W
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
1
4
5
12
13
8
9
3
2
7
6
15
14
11
10
W X W X W X
W X
Y Z
Y Z
Y Z
Y Z
X
X
1
1
1
1
1
0
1
0
X
X
0
X
1
0
Y Z
F2 = F(w,x,y,z) = X Y Z + Y Z + X Y
X Y Z
X Y
min 0 
min 15 

More Related Content

Similar to kmap.pptx

Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arorakulachihansraj
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)mihir jain
 
ECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.pptECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.pptsonusreekumar
 
Hierarchical matrix approximation of large covariance matrices
Hierarchical matrix approximation of large covariance matricesHierarchical matrix approximation of large covariance matrices
Hierarchical matrix approximation of large covariance matricesAlexander Litvinenko
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Ali Farooq
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Alexander Litvinenko
 
Nbhm m. a. and m.sc. scholarship test 2011
Nbhm m. a. and m.sc. scholarship test 2011Nbhm m. a. and m.sc. scholarship test 2011
Nbhm m. a. and m.sc. scholarship test 2011MD Kutubuddin Sardar
 
K-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source codeK-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source codegokulprasath06
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh mapchandkec
 
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1askiitians
 
Linear Combination, Span And Linearly Independent, Dependent Set
Linear Combination, Span And Linearly Independent, Dependent SetLinear Combination, Span And Linearly Independent, Dependent Set
Linear Combination, Span And Linearly Independent, Dependent SetDhaval Shukla
 
Jee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solutionJee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solutionAnkitBiswas17
 

Similar to kmap.pptx (20)

Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arora
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
 
ECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.pptECE 3rd_Unit No. 1_K-Map_DSD.ppt
ECE 3rd_Unit No. 1_K-Map_DSD.ppt
 
Hierarchical matrix approximation of large covariance matrices
Hierarchical matrix approximation of large covariance matricesHierarchical matrix approximation of large covariance matrices
Hierarchical matrix approximation of large covariance matrices
 
Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1Electromagnetic theory EMT lecture 1
Electromagnetic theory EMT lecture 1
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...
 
Nbhm m. a. and m.sc. scholarship test 2011
Nbhm m. a. and m.sc. scholarship test 2011Nbhm m. a. and m.sc. scholarship test 2011
Nbhm m. a. and m.sc. scholarship test 2011
 
K-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source codeK-means Clustering Algorithm with Matlab Source code
K-means Clustering Algorithm with Matlab Source code
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Determinants
DeterminantsDeterminants
Determinants
 
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1
 
Linear Combination, Span And Linearly Independent, Dependent Set
Linear Combination, Span And Linearly Independent, Dependent SetLinear Combination, Span And Linearly Independent, Dependent Set
Linear Combination, Span And Linearly Independent, Dependent Set
 
Karnaugh map peresentation
Karnaugh map  peresentationKarnaugh map  peresentation
Karnaugh map peresentation
 
Jee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solutionJee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solution
 
Karnaugh maps z 88
Karnaugh maps   z  88Karnaugh maps   z  88
Karnaugh maps z 88
 
Set 1 mawar
Set 1 mawarSet 1 mawar
Set 1 mawar
 

More from ansariparveen06

discrete mathematics binary%20trees.pptx
discrete mathematics binary%20trees.pptxdiscrete mathematics binary%20trees.pptx
discrete mathematics binary%20trees.pptxansariparveen06
 
Introduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).pptIntroduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).pptansariparveen06
 
Fundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.pptFundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.pptansariparveen06
 
Combinational_Logic_Circuit.pptx
Combinational_Logic_Circuit.pptxCombinational_Logic_Circuit.pptx
Combinational_Logic_Circuit.pptxansariparveen06
 
presentation_python_7_1569170870_375360.pptx
presentation_python_7_1569170870_375360.pptxpresentation_python_7_1569170870_375360.pptx
presentation_python_7_1569170870_375360.pptxansariparveen06
 
BCom-Sem2-Marketing-Digital-payment-Presentation.pptx
BCom-Sem2-Marketing-Digital-payment-Presentation.pptxBCom-Sem2-Marketing-Digital-payment-Presentation.pptx
BCom-Sem2-Marketing-Digital-payment-Presentation.pptxansariparveen06
 
May14ProcessScheduling.ppt
May14ProcessScheduling.pptMay14ProcessScheduling.ppt
May14ProcessScheduling.pptansariparveen06
 
UNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptxUNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptxansariparveen06
 
1-introduction-to-dart-programming.pptx
1-introduction-to-dart-programming.pptx1-introduction-to-dart-programming.pptx
1-introduction-to-dart-programming.pptxansariparveen06
 
exception%20handlingcpp.pptx
exception%20handlingcpp.pptxexception%20handlingcpp.pptx
exception%20handlingcpp.pptxansariparveen06
 

More from ansariparveen06 (20)

discrete mathematics binary%20trees.pptx
discrete mathematics binary%20trees.pptxdiscrete mathematics binary%20trees.pptx
discrete mathematics binary%20trees.pptx
 
Introduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).pptIntroduction to Arduino 16822775 (2).ppt
Introduction to Arduino 16822775 (2).ppt
 
Fundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.pptFundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.ppt
 
pscheduling.ppt
pscheduling.pptpscheduling.ppt
pscheduling.ppt
 
Combinational_Logic_Circuit.pptx
Combinational_Logic_Circuit.pptxCombinational_Logic_Circuit.pptx
Combinational_Logic_Circuit.pptx
 
presentation_python_7_1569170870_375360.pptx
presentation_python_7_1569170870_375360.pptxpresentation_python_7_1569170870_375360.pptx
presentation_python_7_1569170870_375360.pptx
 
BCom-Sem2-Marketing-Digital-payment-Presentation.pptx
BCom-Sem2-Marketing-Digital-payment-Presentation.pptxBCom-Sem2-Marketing-Digital-payment-Presentation.pptx
BCom-Sem2-Marketing-Digital-payment-Presentation.pptx
 
dsa.ppt
dsa.pptdsa.ppt
dsa.ppt
 
11-IOManagement.ppt
11-IOManagement.ppt11-IOManagement.ppt
11-IOManagement.ppt
 
May14ProcessScheduling.ppt
May14ProcessScheduling.pptMay14ProcessScheduling.ppt
May14ProcessScheduling.ppt
 
UNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptxUNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptx
 
1-introduction-to-dart-programming.pptx
1-introduction-to-dart-programming.pptx1-introduction-to-dart-programming.pptx
1-introduction-to-dart-programming.pptx
 
CHAP4.pptx
CHAP4.pptxCHAP4.pptx
CHAP4.pptx
 
green IT cooling.pptx
green IT cooling.pptxgreen IT cooling.pptx
green IT cooling.pptx
 
06-Deadlocks.ppt
06-Deadlocks.ppt06-Deadlocks.ppt
06-Deadlocks.ppt
 
chp9 green IT.pptx
chp9 green IT.pptxchp9 green IT.pptx
chp9 green IT.pptx
 
regex.ppt
regex.pptregex.ppt
regex.ppt
 
BOM.ppt
BOM.pptBOM.ppt
BOM.ppt
 
Cooling.pptx
Cooling.pptxCooling.pptx
Cooling.pptx
 
exception%20handlingcpp.pptx
exception%20handlingcpp.pptxexception%20handlingcpp.pptx
exception%20handlingcpp.pptx
 

Recently uploaded

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

kmap.pptx

  • 2. Karnaugh Map Technique  K-Maps, like truth tables, are a way to show the relationship between logic inputs and desired outputs.  K-Maps are a graphical technique used to simplify a logic equation.  K-Maps are very procedural and much cleaner than Boolean simplification.  K-Maps can be used for any number of input variables, BUT are only practical for fewer than six.
  • 3. K-Map Format  Each minterm in a truth table corresponds to a cell in the K-Map.  K-Map cells are labeled so that both horizontal and vertical movement differ only in one variable.  Once a K-Map is filled (0’s & 1’s) the sum-of- products expression for the function can be obtained by OR-ing together the cells that contain 1’s.  Since the adjacent cells differ by only one variable, they can be grouped to create simpler terms in the sum-of-product expression.
  • 4. Y Y X X 0 1 2 3 Truth Table -TO- K-Map Y 0 1 0 1 Z 1 0 1 1 X 0 0 1 1 minterm 0  minterm 1  minterm 2  minterm 3  1 1 0 1
  • 5. Y Y X X 0 0 1 0 X Y Y Y X X 0 0 0 1 X Y Y Y X X 1 0 0 0 X Y Y Y X X 0 1 0 0 X Y 2 Variable K-Map : Groups of One
  • 6. Adjacent Cells X Y Y Y X X 1 0 1 0 X Y Y Y X X 1 0 1 0 Y = Z Z = X Y + X Y = Y ( X + X ) = Y 1
  • 7. Groupings  Grouping a pair of adjacent 1’s eliminates the variable that appears in complemented and uncomplemented form.  Grouping a quad of 1’s eliminates the two variables that appear in both complemented and uncomplemented form.  Grouping an octet of 1’s eliminates the three variables that appear in both complemented and uncomplemented form, etc…..
  • 8. Y Y X X 1 1 0 0 X X Y Y X X 1 0 1 0 Y Y 2 Variable K-Map : Groups of Two Y Y X X 0 1 0 1 Y Y X X 0 0 1 1
  • 9. Y Y X X 1 1 1 1 1 2 Variable K-Map : Group of Four
  • 10. Two Variable Design Example S S R R 0 1 2 3 S 0 1 0 1 T 1 0 1 0 R 0 0 1 1 1 0 1 0 S T = F(R,S) = S
  • 11. 3 Variable K-Map : Vertical minterm 0  minterm 1  minterm 2  minterm 3  minterm 4  minterm 5  minterm 6  minterm 7  C 0 1 0 1 0 1 0 1 Y 1 0 1 1 0 0 1 0 B 0 0 1 1 0 0 1 1 A 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 1 A A B C B C B C B C 0 1 4 5 3 2 7 6
  • 12. 3 Variable K-Map : Horizontal C C A B A B A B A B minterm 0  minterm 1  minterm 2  minterm 3  minterm 4  minterm 5  minterm 6  minterm 7  C 0 1 0 1 0 1 0 1 Y 1 0 1 1 0 0 1 0 B 0 0 1 1 0 0 1 1 A 0 0 0 0 1 1 1 1 1 0 1 1 1 0 0 0 0 1 2 3 6 7 4 5
  • 13. 3 Variable K-Map : Groups of Two C C A B A B A B A B 1 0 1 0 0 0 0 0 A C 0 1 0 1 0 0 0 0 A C 0 0 0 0 1 0 1 0 A C 0 0 0 0 0 1 0 1 A C 0 0 1 0 1 0 0 0 B C 0 0 0 1 0 1 0 0 B C 1 0 0 0 0 0 1 0 B C 0 1 0 0 0 0 0 1 B C 1 1 0 0 0 0 0 0 A B 0 0 1 1 0 0 0 0 A B 0 0 0 0 1 1 0 0 A B 0 0 0 0 0 0 1 1 A B
  • 14. 3 Variable K-Map : Groups of Four C C A B A B A B A B 1 1 1 1 0 0 0 0 A 0 0 0 0 1 1 1 1 A 0 0 1 1 1 1 0 0 B 1 1 0 0 0 0 1 1 B 1 0 1 0 1 0 1 0 C 0 1 0 1 0 1 0 1 C
  • 15. 3 Variable K-Map : Group of Eight C C A B A B A B A B 1 1 1 1 1 1 1 1 1
  • 16. Simplification Process 1. Construct the K-Map and place 1’s in cells corresponding to the 1’s in the truth table. Place 0’s in the other cells. 2. Examine the map for adjacent 1’s and group those 1’s which are NOT adjacent to any others. These are called isolated 1’s. 3. Group any hex. 4. Group any octet, even if it contains some 1’s already grouped, but are not enclosed in a hex. 5. Group any quad, even if it contains some 1’s already grouped, but are not enclosed in a hex or octet. 6. Group any pair, even if it contains some 1’s already grouped, but are not enclosed in a hex, octet or quad. 7. Group any single cells remaining. 8. Form the OR sum of all the terms grouped.
  • 17. Three Variable Design Example #1 L 0 1 0 1 0 1 0 1 M 1 0 1 1 0 1 0 0 K 0 0 1 1 0 0 1 1 J 0 0 0 0 1 1 1 1 1 0 1 1 0 0 0 1 L L J K J K J K J K 0 1 2 3 6 7 4 5 J L J K J K L M = F(J,K,L) = J L + J K + J K L
  • 18. Three Variable Design Example #2 C 0 1 0 1 0 1 0 1 Z 1 0 0 0 1 1 0 1 B 0 0 1 1 0 0 1 1 A 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 C C A B A B A B A B 0 1 2 3 6 7 4 5 B C A C Z = F(A,B,C) = A C + B C
  • 19. Three Variable Design Example #3 C 0 1 0 1 0 1 0 1 F2 1 0 0 1 1 1 0 1 B 0 0 1 1 0 0 1 1 A 0 0 0 0 1 1 1 1 1 1 0 1 1 1 0 0 A A B C B C B C B C 0 1 2 3 6 7 4 5 B C B C A B A C F2 = F(A,B,C) = B C + B C + A B F2 = F(A,B,C) = B C + B C + A C
  • 20. Four Variable K-Map minterm 0  minterm 1  minterm 2  minterm 3  minterm 4  minterm 5  minterm 6  minterm 7  minterm 8  minterm 9  minterm 10  minterm 11  minterm 12  minterm 13  minterm 14  minterm 15  Z 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F1 1 0 0 0 1 1 0 1 1 1 0 0 0 1 1 1 Y 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 X 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 W 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 4 5 12 13 8 9 3 2 7 6 15 14 11 10 W X W X W X W X Y Z Y Z Y Z Y Z 0 0 1 0 1 1 0 0 1 0 1 1 0 1 1 1
  • 21. Four Variable K-Map : Groups of Four W X W X W X W X Y Z Y Z Y Z Y Z 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 X Z 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 X Z X Z 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 0
  • 22. Four Variable Design Example #1 Z 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F1 1 0 1 0 1 0 1 0 0 0 1 0 1 1 0 0 Y 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 X 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 W 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 4 5 12 13 8 9 3 2 7 6 15 14 11 10 W X W X W X W X Y Z Y Z Y Z Y Z 0 1 0 1 0 0 0 1 1 0 1 0 1 1 0 0 W X Y X Y Z W Z F1 = F(w,x,y,z) = W X Y + W Z + X Y Z min 0  min 15 
  • 23. Four Variable Design Example #2 Z 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 F2 1 x 1 0 0 x 0 x x 1 0 1 x 1 1 1 Y 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 X 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 W 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 4 5 12 13 8 9 3 2 7 6 15 14 11 10 W X W X W X W X Y Z Y Z Y Z Y Z X X 1 1 1 1 1 0 1 0 X X 0 X 1 0 Y Z F2 = F(w,x,y,z) = X Y Z + Y Z + X Y X Y Z X Y min 0  min 15 