SlideShare a Scribd company logo
K-MAP
Maurice Karnaugh introduced k-map in
1953 as a next edition of Edward
Veitch’s (1952) Veitch diagram
ADVANTAGES
• Reduces extensive
calc.
• Reduces expression
without Boolean
theorems
• Used for minimizing
circuits
• Less time consuming
• Less space consuming
DISADVANTAGES
• Tedious for more than
5 variables
• Some examples are
solved in few seconds
by Boolean theorems
easily
Gray code
• It is a numerical code used in computing in
which consecutive integers are represented by
binary numbers differing in only one digit
• E.g. Binary Gray
00 00
01 01
10 11
11 10
Rules for converting binary code into gray
code
• Write first digit in left side as it is
• A digit in gray code is the addition of
corresponding digit in binary and its previous
digit in binary
• 0+0=0 BINARY 1 0 0 1 0 1 0
• 0+1=1 GRAY 1 1 0 1 1 1 1
• 1+0=1 BINARY 1 0 1 1 1 1 1 0 0 1
• 1+1=0 GRAY 1 1 1 0 0 0 0 1 0 1
Rules for converting gray code into binary
code
• Write first digit in left side as it is
• A digit in binary code is the addition of
corresponding digit in gray and its previous
digit in binary
• 0+0=0 GRAY 1 0 1 0 1 0 1 0
• 0+1=1 BINARY 1 1 0 0 1 1 0 0
• 1+0=1 GRAY 1 1 1 1 0 0 1 1 0 1
• 1+1=0 BINARY 1 0 1 0 0 0 1 0 0 1
Consider the
following truth
table
Here A,B,C,D are
inputs and Y is
output
magnitude A B C D Y
0 0 0 0 0 0
1 0 0 0 1 0
2 0 0 1 0 1
3 0 0 1 1 0
4 0 1 0 0 1
5 0 1 0 1 1
6 0 1 1 0 0
7 0 1 1 1 1
8 1 0 0 0 0
9 1 0 0 1 0
10 1 0 1 0 1
11 1 0 1 1 1
12 1 1 0 0 0
13 1 1 0 1 0
14 1 1 1 0 0
15 1 1 1 1 0
Consider inputs A,B binary gray
A B A B
0 0 0 0
0 1 0 1
1 0 1 1
1 1 1 0
Consider inputs C,D binary gray
C D C D
0 0 0 0
0 1 0 1
1 0 1 1
1 1 1 0
Write down inputs in k-
map as shown in figure
For first block all inputs
are 0 i.e. the input given
is A B C D
Hence
0 is for low input
1 is for high input
Write magnitudes in the right corner of the
lower side of each block as shown in figure
FINAL K-MAP
Write magnitude at
the centre of each
block
NOTE : using magnitude
is just for simplicity
Grouping
Rules of grouping -
1’s & 0’s can
not be grouped
diagonal 1’s can
not be grouped
Elements in a group should be 2n
Minimum
Groups
should be
formed
For above
rule group
Overlapping
is applicable
Groups may
be of
non-complete
polygon
Hierarchy is …….16,8,4,2
Examples of k-map
1.Minimize the following equation using k-map
y=ABC+ABC+ABC+ABC
_ _ _ _ _ _
ABC = 000 = 0
_ _ _
ABC = 010 = 2
_ _
ABC = 101 = 5
_
ABC = 111 = 7
Using this fill the k-map
Grouping – here 2 groups of 2 1’s
Is possible
For upper group A and C are
constants and B is varying.
Neglect B.A and C both are 0.
Hence output of this group is AC
For upper group A and C are
constants and B is varying.
Neglect B.A and C both are 0.
Hence output of this group is AC
_ _
Y=AC+AC
_ _
Thus output Y is given by ,
=A B⃝.
2. Solve the given
k-map
Step I -grouping
Step II -output of
each group
Step III -final output
Here answer is ,
Y=CD+BC+BD
_ _ _
Sop form – sum of product form
Sop form – product of sum form
Example-
Example-
ABC+ABC+ABC+ABC
_ _ _ _ _
(A+B+C)(A+B+C)(A+B+C)
__ _
Conversion of given equation to sop -
Example-
AB+A+ABC =AB(C+C)+A(B+B)(C+C)+ABC
=ABC+ABC+ABC+ABC+ABC+ABC+ABC
_ _ _
_ _ _ _ _
=ABC+ABC+ABC+ABC
_ _ _ _
Conversion of given equation to pos -
First equation should be converted to sop
Example-
From previous example
Y=AB+A+ABC=ABC+ABC+ABC+ABC
_ ___
Y=ABC+ABC+ABC+ABC
_ _ _ _ _ _ _ __
Y=Y=ABC+ABC+ABC+ABC_ _ _ _ _ _ _ _
__ _________________
Y=(ABC)(ABC)(ABC)(ABC)
Y=(A+B+C)(A+B+C)(A+B+C)(A+B+C)
_ _ _ _ _ _ _ _
____ ____ ____ ____
_ _ _ _

More Related Content

What's hot

K map
K mapK map
K - Map
  K - Map    K - Map
K - Map
Abhishek Choksi
 
Bcd
BcdBcd
BCD.
BCD.BCD.
Encoder.pptx
Encoder.pptxEncoder.pptx
Encoder.pptx
Pooja Dixit
 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
 
Karnaugh Graph or K-Map
Karnaugh Graph or K-MapKarnaugh Graph or K-Map
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
Vinoth Loganathan
 
Complements
ComplementsComplements
Complements
Sudheesh S Madhav
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
Praveen M Jigajinni
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Self-employed
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
SnehalataAgasti
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
Siddhi Shrivas
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Satya P. Joshi
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted Codes
SubhamSatpathy2
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
Shaik Aman
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
Kamal Acharya
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
Gaditek
 
Presentation on Karnaugh Map
Presentation  on Karnaugh MapPresentation  on Karnaugh Map
Presentation on Karnaugh Map
Kawsar Ahmed
 

What's hot (20)

K map
K mapK map
K map
 
K - Map
  K - Map    K - Map
K - Map
 
Bcd
BcdBcd
Bcd
 
BCD.
BCD.BCD.
BCD.
 
Encoder.pptx
Encoder.pptxEncoder.pptx
Encoder.pptx
 
Binary codes
Binary codesBinary codes
Binary codes
 
Karnaugh Graph or K-Map
Karnaugh Graph or K-MapKarnaugh Graph or K-Map
Karnaugh Graph or K-Map
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Complements
ComplementsComplements
Complements
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted Codes
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Presentation on Karnaugh Map
Presentation  on Karnaugh MapPresentation  on Karnaugh Map
Presentation on Karnaugh Map
 

Viewers also liked

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
Vanitha Chandru
 
K map
K mapK map
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explained
ml4ml4
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
DIGITAL ELECTRONICS- Minimization TechniqueKarnaugh MapDIGITAL ELECTRONICS- Minimization TechniqueKarnaugh Map
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
Trinity Dwarka
 
K-map method
K-map methodK-map method
K-map method
Harekushna Patel
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos forms
Manesh T
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
QAU ISLAMABAD,PAKISTAN
 
Chapter 06 boolean algebra
Chapter 06 boolean algebraChapter 06 boolean algebra
Chapter 06 boolean algebra
Hareem Aslam
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
Vanitha Chandru
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
Nallapati Anindra
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean Algebra
Guru Ji
 
KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)
Sagar Uday Kumar
 
Sum of product dan product of sum
Sum of product dan product of sumSum of product dan product of sum
Sum of product dan product of sumArlis Ikhla Afrina
 
Product Of Sum (POS)
Product Of Sum (POS)Product Of Sum (POS)
Product Of Sum (POS)
PathurOzie Wafferz
 

Viewers also liked (20)

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
K map
K mapK map
K map
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explained
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Karnaugh Maps
Karnaugh MapsKarnaugh Maps
Karnaugh Maps
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
DIGITAL ELECTRONICS- Minimization TechniqueKarnaugh MapDIGITAL ELECTRONICS- Minimization TechniqueKarnaugh Map
DIGITAL ELECTRONICS- Minimization Technique Karnaugh Map
 
K-map method
K-map methodK-map method
K-map method
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos forms
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
 
Chapter 06 boolean algebra
Chapter 06 boolean algebraChapter 06 boolean algebra
Chapter 06 boolean algebra
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean Algebra
 
KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)KARNAUGH MAP using OpenGL (KMAP)
KARNAUGH MAP using OpenGL (KMAP)
 
Minterms
MintermsMinterms
Minterms
 
Sum of product dan product of sum
Sum of product dan product of sumSum of product dan product of sum
Sum of product dan product of sum
 
Product Of Sum (POS)
Product Of Sum (POS)Product Of Sum (POS)
Product Of Sum (POS)
 

Similar to Basics of K map

combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
Krishnavenimanickam2
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
shubhangisonawane6
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
SanjaiPrasad
 
UNIT V.pptx
UNIT V.pptxUNIT V.pptx
UNIT V.pptx
srihariharika
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
mayannpolisticoLNU
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
amudhak10
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
Mayank Pandey
 
De boolean algebra
De boolean algebraDe boolean algebra
De boolean algebra
VinodKataria5
 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
Arti Parab Academics
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Hsien-Hsin Sean Lee, Ph.D.
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
ThanmayiKumar
 
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfW3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
MOHDZAMRIBINIBRAHIM1
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
rmkceteee
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory l
khanyz4884
 
Arithmetic circuits
Arithmetic circuitsArithmetic circuits
Arithmetic circuits
Sanjay Saluth
 
100_2_digitalSystem_Chap1 (2).ppt
100_2_digitalSystem_Chap1 (2).ppt100_2_digitalSystem_Chap1 (2).ppt
100_2_digitalSystem_Chap1 (2).ppt
namraashraf56
 
CA UNIT II.pptx
CA UNIT II.pptxCA UNIT II.pptx
CA UNIT II.pptx
ssuser9dbd7e
 
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdfLecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
UmerKhan147799
 
Unit 4 combinational circuit
Unit 4 combinational circuitUnit 4 combinational circuit
Unit 4 combinational circuit
Kalai Selvi
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
AminaZahid16
 

Similar to Basics of K map (20)

combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdfCDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
CDS Fundamentals of digital communication system UNIT 1 AND 2.pdf
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
UNIT V.pptx
UNIT V.pptxUNIT V.pptx
UNIT V.pptx
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
 
De boolean algebra
De boolean algebraDe boolean algebra
De boolean algebra
 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfW3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory l
 
Arithmetic circuits
Arithmetic circuitsArithmetic circuits
Arithmetic circuits
 
100_2_digitalSystem_Chap1 (2).ppt
100_2_digitalSystem_Chap1 (2).ppt100_2_digitalSystem_Chap1 (2).ppt
100_2_digitalSystem_Chap1 (2).ppt
 
CA UNIT II.pptx
CA UNIT II.pptxCA UNIT II.pptx
CA UNIT II.pptx
 
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdfLecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
Lecture5 Chapter4- Design Decimal Adder and Binary Multiplier Circuits.pdf
 
Unit 4 combinational circuit
Unit 4 combinational circuitUnit 4 combinational circuit
Unit 4 combinational circuit
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 

Basics of K map

  • 1. K-MAP Maurice Karnaugh introduced k-map in 1953 as a next edition of Edward Veitch’s (1952) Veitch diagram
  • 2. ADVANTAGES • Reduces extensive calc. • Reduces expression without Boolean theorems • Used for minimizing circuits • Less time consuming • Less space consuming DISADVANTAGES • Tedious for more than 5 variables • Some examples are solved in few seconds by Boolean theorems easily
  • 3. Gray code • It is a numerical code used in computing in which consecutive integers are represented by binary numbers differing in only one digit • E.g. Binary Gray 00 00 01 01 10 11 11 10
  • 4. Rules for converting binary code into gray code • Write first digit in left side as it is • A digit in gray code is the addition of corresponding digit in binary and its previous digit in binary • 0+0=0 BINARY 1 0 0 1 0 1 0 • 0+1=1 GRAY 1 1 0 1 1 1 1 • 1+0=1 BINARY 1 0 1 1 1 1 1 0 0 1 • 1+1=0 GRAY 1 1 1 0 0 0 0 1 0 1
  • 5. Rules for converting gray code into binary code • Write first digit in left side as it is • A digit in binary code is the addition of corresponding digit in gray and its previous digit in binary • 0+0=0 GRAY 1 0 1 0 1 0 1 0 • 0+1=1 BINARY 1 1 0 0 1 1 0 0 • 1+0=1 GRAY 1 1 1 1 0 0 1 1 0 1 • 1+1=0 BINARY 1 0 1 0 0 0 1 0 0 1
  • 6. Consider the following truth table Here A,B,C,D are inputs and Y is output magnitude A B C D Y 0 0 0 0 0 0 1 0 0 0 1 0 2 0 0 1 0 1 3 0 0 1 1 0 4 0 1 0 0 1 5 0 1 0 1 1 6 0 1 1 0 0 7 0 1 1 1 1 8 1 0 0 0 0 9 1 0 0 1 0 10 1 0 1 0 1 11 1 0 1 1 1 12 1 1 0 0 0 13 1 1 0 1 0 14 1 1 1 0 0 15 1 1 1 1 0
  • 7. Consider inputs A,B binary gray A B A B 0 0 0 0 0 1 0 1 1 0 1 1 1 1 1 0 Consider inputs C,D binary gray C D C D 0 0 0 0 0 1 0 1 1 0 1 1 1 1 1 0
  • 8. Write down inputs in k- map as shown in figure For first block all inputs are 0 i.e. the input given is A B C D Hence 0 is for low input 1 is for high input
  • 9. Write magnitudes in the right corner of the lower side of each block as shown in figure
  • 10. FINAL K-MAP Write magnitude at the centre of each block NOTE : using magnitude is just for simplicity
  • 11. Grouping Rules of grouping - 1’s & 0’s can not be grouped diagonal 1’s can not be grouped
  • 12. Elements in a group should be 2n
  • 13. Minimum Groups should be formed For above rule group Overlapping is applicable
  • 15.
  • 16.
  • 17. Examples of k-map 1.Minimize the following equation using k-map y=ABC+ABC+ABC+ABC _ _ _ _ _ _ ABC = 000 = 0 _ _ _ ABC = 010 = 2 _ _ ABC = 101 = 5 _ ABC = 111 = 7 Using this fill the k-map Grouping – here 2 groups of 2 1’s Is possible
  • 18. For upper group A and C are constants and B is varying. Neglect B.A and C both are 0. Hence output of this group is AC For upper group A and C are constants and B is varying. Neglect B.A and C both are 0. Hence output of this group is AC _ _ Y=AC+AC _ _ Thus output Y is given by , =A B⃝.
  • 19. 2. Solve the given k-map Step I -grouping Step II -output of each group Step III -final output Here answer is , Y=CD+BC+BD _ _ _
  • 20. Sop form – sum of product form Sop form – product of sum form Example- Example- ABC+ABC+ABC+ABC _ _ _ _ _ (A+B+C)(A+B+C)(A+B+C) __ _
  • 21. Conversion of given equation to sop - Example- AB+A+ABC =AB(C+C)+A(B+B)(C+C)+ABC =ABC+ABC+ABC+ABC+ABC+ABC+ABC _ _ _ _ _ _ _ _ =ABC+ABC+ABC+ABC _ _ _ _
  • 22. Conversion of given equation to pos - First equation should be converted to sop Example- From previous example Y=AB+A+ABC=ABC+ABC+ABC+ABC _ ___ Y=ABC+ABC+ABC+ABC _ _ _ _ _ _ _ __ Y=Y=ABC+ABC+ABC+ABC_ _ _ _ _ _ _ _ __ _________________ Y=(ABC)(ABC)(ABC)(ABC) Y=(A+B+C)(A+B+C)(A+B+C)(A+B+C) _ _ _ _ _ _ _ _ ____ ____ ____ ____ _ _ _ _