SlideShare a Scribd company logo
Karnaugh Map (k-map)
Group no 2
• Rehman kaleem
• Rana Nadir Ali
• Memoona
• Arooha
Introduction
 We have Simplified the Boolean functions using identities .It is
time-consuming and error-prone. To overcome this
difficulty, a method is introduced that is called k-map.
 The K-map Method provides a simple ,easy , straight forward
procedure for reducing Boolean expressions.
Why it is called K-map?
 Maurice Karnaugh introduced it in 1953,he was a
telecommunications engineer at Bell Labs.
 While exploring the new field of digital logic and its application to
the design of telephone circuits, he invented a graphical way of
visualizing and then simplifying Boolean expressions. This graphical
representation, now known as a Karnaugh map or k-map.
Description of K-maps
 A K-map is a matrix consisting of rows and columns that represent
the output values of a Boolean function.
 The output values placed in each cell are derived from the
Minterms and Maxterms of a Boolean function.
Concept of mindterms and maxterms
 A binary variable may appear either in its normal form X or
complement form Xˊ. Now consider two variable X & Y combine
with AND operation, its possible outcomes are XY, XӮ,𝑋Y, 𝑋Ӯ
 These are called mindterms or Standard product . Consider function
,its minterms are :
 Similarly, using OR operation , X+Y, X+Ӯ,𝑋+Y, 𝑋+Ӯ these are
called maxterms or Standard sum.
Conical form of mindterm & maxterm
 Each minterm is the complement of its corresponding maxterm and vise versa.
 F(X,Y,Z)= (0,4,5)
=𝑚0+𝑚4+𝑚5
=𝑋Ӯz̄+X Ӯz̄+X ӮZ
sum of product (SOM)
F(X,Y,Z)=兀(o,2,4)
= (X+Y+Z).(X+ Ӯ+Z).(𝑋+Y+Z)
Product of sum(POS)
Boolean function expressed as a sum of minterms or product of maxterms are set to
be in a conical form.
Description of K-maps
 Similarly, a function having three inputs, has the minterms that are
shown in this diagram.
Truth Table to K-map Example
 A K-map has a cell for each Minterm.
 This means that it has a cell for each
 line for the truth table of a function.
 The truth table for the function F(x,y) = xy is shown at the right along with its
corresponding K-map.
2- Truth Table to K-map Example
 As another example, we give the truth table
and K-Map for the function, F(x,y) = x + y at the right.
 This function is equivalent to the OR of all of the minterms that
have a value of 1. Thus:
K-map Simplification Rules …
The rules of K-map simplification are:
• Groupings can contain only 1s; no 0s.
• Groups can be formed only at right angles; diagonal
groups are not allowed.
• The number of 1s in a group must be a power of 2 –
even if it contains a single 1.
• The groups must be made as large as possible.
• Groups can overlap and wrap around the sides of the K-
map.
K-map Simplification for Two Variables
 Of course, the minterm function that we derived from our K-map
was not in simplest terms.
 We can, however, reduce our complicated expression to its simplest
terms by finding adjacent 1s in the K-map that can be collected into
groups that are powers of two.
Three Variables k-map…
 A K-map for three variables is constructed as shown in the diagram
below.
 We have placed each minterm in the cell that will hold its value.
 Notice that the values for the YZ combination at the top of the
matrix form a pattern that is not a normal binary sequence.
Pattern must be like this. Only 1 variable
changes at a time
Example for Three Variables
 Consider the function:
 Its K-map is given:
It Reduces to F(x) = z.
Another Example for Three Variables
 Now for a more complicated K-map. Consider the function:
 Its K-map is shown below. There are (only) two groupings of 1s.
 After reducing function is
Four Variables k-map..
 Our model can be extended to accommodate the 16 minterms that
are produced by a four-input function.
 This is the format for a 16-minterm K-map.
Example for Four Variables
 We have populated the K-map shown below with the nonzero
minterms from the function:
 Reduced to:
Five Variable K Map
Five Variable K Map..
Don’t Care Conditions
Real circuits don’t always need to have an output defined for
every possible input.
 For example, some calculator displays consist of 7-segment LEDs.
These LEDs can display 2 7 -1 patterns, but only ten of them are
useful.
If a circuit is designed so that a particular set of inputs can
never happen, we call this set of inputs a don’t care condition.
They are very helpful to us in K-map circuit simplification.
Don’t Care Conditions
 In a K-map, a don’t care condition is identified by an X in the cell of
the minterm(s) for the don’t care inputs, as shown below.
 In performing the simplification, we are free to include or ignore
the X’s when creating our groups.
 Reduction using don’t cares:
Don’t Care Conditions example
Another example…
F(W,X,Y,Z)= (1,3,7,11,15) and 𝑑(0,2,5)
Thank you

More Related Content

What's hot

Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
Zain Jafri
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
chandkec
 
SHA512.pptx
SHA512.pptxSHA512.pptx
SHA512.pptx
ssuserb4287c
 
K map
K mapK map
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
mihir jain
 
Data representation
 Data representation Data representation
Data representation
Ashraf Miraz
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
Bala Ganesh
 
Two’s complement
Two’s complementTwo’s complement
Two’s complement
mayannpolisticoLNU
 
Data Structures- Part5 recursion
Data Structures- Part5 recursionData Structures- Part5 recursion
Data Structures- Part5 recursion
Abdullah Al-hazmy
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkanaShift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkana
Pir Sarfraz Ahmed
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
AmberSinghal1
 
Ch 6 final
Ch 6 finalCh 6 final
Ch 6 final
Nateshwar Kamlesh
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
Nallapati Anindra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Manish Kumar
 
Bcd
BcdBcd
Karnaugh Map (K-map)
Karnaugh Map (K-map)Karnaugh Map (K-map)
Karnaugh Map (K-map)
Saimur Swarnab
 
Number system
Number systemNumber system
Number system
Aditya Sharat
 
Nand and nor as a universal gates
Nand and nor as a universal gatesNand and nor as a universal gates
Nand and nor as a universal gates
Kaushal Shah
 
Data representation
Data representationData representation
Data representation
MAGADH UNIVERSITY,BOADH GAYA
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
sanket1996
 

What's hot (20)

Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
SHA512.pptx
SHA512.pptxSHA512.pptx
SHA512.pptx
 
K map
K mapK map
K map
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
Data representation
 Data representation Data representation
Data representation
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
Two’s complement
Two’s complementTwo’s complement
Two’s complement
 
Data Structures- Part5 recursion
Data Structures- Part5 recursionData Structures- Part5 recursion
Data Structures- Part5 recursion
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkanaShift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkana
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
 
Ch 6 final
Ch 6 finalCh 6 final
Ch 6 final
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Bcd
BcdBcd
Bcd
 
Karnaugh Map (K-map)
Karnaugh Map (K-map)Karnaugh Map (K-map)
Karnaugh Map (K-map)
 
Number system
Number systemNumber system
Number system
 
Nand and nor as a universal gates
Nand and nor as a universal gatesNand and nor as a universal gates
Nand and nor as a universal gates
 
Data representation
Data representationData representation
Data representation
 
Decoders and encoders
Decoders and encodersDecoders and encoders
Decoders and encoders
 

Similar to Karnaugh map peresentation

Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
ssuserf7cd2b
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
kndnewguade
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
Sushil Ranjan
 
Applications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma MachineApplications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma Machine
VandanaPrajapati10
 
cume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptxcume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptx
KelvinSerimwe
 
DCF - K map
DCF - K mapDCF - K map
DCF - K map
vinothinisureshbabu
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
GargiKhanna1
 
cs 3351 dpco
cs 3351 dpcocs 3351 dpco
cs 3351 dpco
udhayaveenaa
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
Syed Absar
 
Alg II Unit 4-1 Quadratic Functions and Transformations
Alg II Unit 4-1 Quadratic Functions and TransformationsAlg II Unit 4-1 Quadratic Functions and Transformations
Alg II Unit 4-1 Quadratic Functions and Transformations
jtentinger
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
PrabhakarSingh646829
 
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Editor IJCATR
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01
Neha Agarwal
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
ansariparveen06
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
YumnaShahzaad
 
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
Arti Parab Academics
 
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTIONMODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
ijwmn
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
AJAL A J
 
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
sonusreekumar
 
Data structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithmData structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithm
lavanya marichamy
 

Similar to Karnaugh map peresentation (20)

Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
Applications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma MachineApplications of Linear Algebra: Enigma Machine
Applications of Linear Algebra: Enigma Machine
 
cume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptxcume106 Electrical n Electronic principles Kmaps.pptx
cume106 Electrical n Electronic principles Kmaps.pptx
 
DCF - K map
DCF - K mapDCF - K map
DCF - K map
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
cs 3351 dpco
cs 3351 dpcocs 3351 dpco
cs 3351 dpco
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Alg II Unit 4-1 Quadratic Functions and Transformations
Alg II Unit 4-1 Quadratic Functions and TransformationsAlg II Unit 4-1 Quadratic Functions and Transformations
Alg II Unit 4-1 Quadratic Functions and Transformations
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
 
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
 
03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt03_Karnaugh_Maps.ppt
03_Karnaugh_Maps.ppt
 
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
 
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTIONMODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
MODIFIED LLL ALGORITHM WITH SHIFTED START COLUMN FOR COMPLEXITY REDUCTION
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
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
 
Data structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithmData structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithm
 

Recently uploaded

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 

Recently uploaded (20)

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 

Karnaugh map peresentation

  • 1. Karnaugh Map (k-map) Group no 2 • Rehman kaleem • Rana Nadir Ali • Memoona • Arooha
  • 2. Introduction  We have Simplified the Boolean functions using identities .It is time-consuming and error-prone. To overcome this difficulty, a method is introduced that is called k-map.  The K-map Method provides a simple ,easy , straight forward procedure for reducing Boolean expressions. Why it is called K-map?  Maurice Karnaugh introduced it in 1953,he was a telecommunications engineer at Bell Labs.  While exploring the new field of digital logic and its application to the design of telephone circuits, he invented a graphical way of visualizing and then simplifying Boolean expressions. This graphical representation, now known as a Karnaugh map or k-map.
  • 3. Description of K-maps  A K-map is a matrix consisting of rows and columns that represent the output values of a Boolean function.  The output values placed in each cell are derived from the Minterms and Maxterms of a Boolean function. Concept of mindterms and maxterms  A binary variable may appear either in its normal form X or complement form Xˊ. Now consider two variable X & Y combine with AND operation, its possible outcomes are XY, XӮ,𝑋Y, 𝑋Ӯ  These are called mindterms or Standard product . Consider function ,its minterms are :  Similarly, using OR operation , X+Y, X+Ӯ,𝑋+Y, 𝑋+Ӯ these are called maxterms or Standard sum.
  • 4. Conical form of mindterm & maxterm  Each minterm is the complement of its corresponding maxterm and vise versa.  F(X,Y,Z)= (0,4,5) =𝑚0+𝑚4+𝑚5 =𝑋Ӯz̄+X Ӯz̄+X ӮZ sum of product (SOM) F(X,Y,Z)=兀(o,2,4) = (X+Y+Z).(X+ Ӯ+Z).(𝑋+Y+Z) Product of sum(POS) Boolean function expressed as a sum of minterms or product of maxterms are set to be in a conical form.
  • 5. Description of K-maps  Similarly, a function having three inputs, has the minterms that are shown in this diagram.
  • 6. Truth Table to K-map Example  A K-map has a cell for each Minterm.  This means that it has a cell for each  line for the truth table of a function.  The truth table for the function F(x,y) = xy is shown at the right along with its corresponding K-map.
  • 7. 2- Truth Table to K-map Example  As another example, we give the truth table and K-Map for the function, F(x,y) = x + y at the right.  This function is equivalent to the OR of all of the minterms that have a value of 1. Thus:
  • 8. K-map Simplification Rules … The rules of K-map simplification are: • Groupings can contain only 1s; no 0s. • Groups can be formed only at right angles; diagonal groups are not allowed. • The number of 1s in a group must be a power of 2 – even if it contains a single 1. • The groups must be made as large as possible. • Groups can overlap and wrap around the sides of the K- map.
  • 9. K-map Simplification for Two Variables  Of course, the minterm function that we derived from our K-map was not in simplest terms.  We can, however, reduce our complicated expression to its simplest terms by finding adjacent 1s in the K-map that can be collected into groups that are powers of two.
  • 10. Three Variables k-map…  A K-map for three variables is constructed as shown in the diagram below.  We have placed each minterm in the cell that will hold its value.  Notice that the values for the YZ combination at the top of the matrix form a pattern that is not a normal binary sequence. Pattern must be like this. Only 1 variable changes at a time
  • 11. Example for Three Variables  Consider the function:  Its K-map is given: It Reduces to F(x) = z.
  • 12. Another Example for Three Variables  Now for a more complicated K-map. Consider the function:  Its K-map is shown below. There are (only) two groupings of 1s.  After reducing function is
  • 13. Four Variables k-map..  Our model can be extended to accommodate the 16 minterms that are produced by a four-input function.  This is the format for a 16-minterm K-map.
  • 14. Example for Four Variables  We have populated the K-map shown below with the nonzero minterms from the function:  Reduced to:
  • 17. Don’t Care Conditions Real circuits don’t always need to have an output defined for every possible input.  For example, some calculator displays consist of 7-segment LEDs. These LEDs can display 2 7 -1 patterns, but only ten of them are useful. If a circuit is designed so that a particular set of inputs can never happen, we call this set of inputs a don’t care condition. They are very helpful to us in K-map circuit simplification.
  • 18. Don’t Care Conditions  In a K-map, a don’t care condition is identified by an X in the cell of the minterm(s) for the don’t care inputs, as shown below.  In performing the simplification, we are free to include or ignore the X’s when creating our groups.  Reduction using don’t cares: