Karnaugh map
By
Md. Fazle Rabbi
16CSE057
4.2
• The Karnaugh map, also known as the K-map, is
a method to simplify Boolean algebra
expressions.
• The Karnaugh map reduces the need for
extensive calculations by taking advantage of
humans‘ pattern-recognition capability.
Karnaugh map
4.3
Rules of Simplification
• Groups may not include any cell containing a zero
• Groups may be horizontal or vertical, but not diagonal
4.4
• Groups must contain 1, 2, 4, 8, or in general 𝟐𝒏 cells.
That is if n = 1, a group will contain two 1's since 𝟐𝟏
= 2.
If n = 2, a group will contain four 1's since 𝟐𝟐 = 4.
Rules of Simplification
4.5
Rules of Simplification
• Each group should be as large as possible
• Each cell containing a one must be in at least one group.
4.6
Rules of Simplification
• Groups may overlap.
4.7
Rules of Simplification
• Groups may wrap around the table.
The leftmost cell in a row may be grouped with the rightmost
cell and the top cell in a column may be grouped with the
bottom cell.
4.8
• There should be as few groups as possible, as long as
this does not contradict any of the previous rules
Rules of Simplification
4.9
• No zeros allowed.
• No diagonals.
• Only power of 2 number of cells in each group.
• Groups should be as large as possible.
• Every one must be in at least one group.
• Overlapping allowed.
• Wrap around allowed.
• Fewest number of groups possible
Summary
4.10
Two-Variable Map
4.11
The 3 Variable K-Map
4.12
The 4 Variable K-Map
4.13
K-Map SOP Minimization
• The K-Map is used for simplifying Boolean expressions to
their minimal form.
• A minimized SOP expression contains the fewest possible
terms with fewest possible variables per term.
• Generally, a minimum SOP expression can be implemented
with fewer logic gates than a standard expression.
4.14
Determining the Minimum SOP Expression from the Map
4.15
Don’t Care Conditions
• A don’t care condition, marked by (X) in the truth
table, indicates a condition where the design
doesn’t care if the output is a (0) or a (1).
• A don’t care condition can be treated as a (0) or a
(1) in a K-Map.
• Treating a don’t care as a (0) means that you do
not need to group it.
• Treating a don’t care as a (1) allows you to make
a grouping larger, resulting in a simpler term in
the SOP equation.
4.16
Don’t Care Conditions
4.17
K-map Simplification of POS Expression

More Related Content

PPTX
Minimization Technique by Rishov Mal
PDF
boolean algebra part 4 (3).pdf
PPTX
DLD Lecture #13.pptx
PPTX
PPTX
K Map.pptx
PPTX
Map Simplification in computer organization architecture
PPTX
Karnaugh map (k map)
PPTX
KARNAUGH MAP
Minimization Technique by Rishov Mal
boolean algebra part 4 (3).pdf
DLD Lecture #13.pptx
K Map.pptx
Map Simplification in computer organization architecture
Karnaugh map (k map)
KARNAUGH MAP

More from MdFazleRabbi18 (20)

PPTX
5.programmable interval timer 8253
PPTX
4.programmable dma controller 8257
PPTX
3.programmable interrupt controller 8259
PPTX
1.ppi 8255
PPTX
Topic4 data encryption standard(des)
PPTX
Topic3 playfain
PPTX
Topic2 caser hill_cripto
PPTX
Topic5 advanced encryption standard (aes)
PPTX
Topic1 substitution transposition-techniques
PPTX
11. lzw coding
PPTX
9. hofman coding in DIP
PPTX
7. image enhancement using spatial filtering
PPTX
5. gray level transformation
PPTX
1. steps in image processing
PPTX
5. convolution and correlation of discrete time signals
PPTX
4. operations of signals
PPTX
3. systems
PPTX
2. classification of signals
PPTX
1. elementary signals
PPTX
4. random number and it's generating techniques
5.programmable interval timer 8253
4.programmable dma controller 8257
3.programmable interrupt controller 8259
1.ppi 8255
Topic4 data encryption standard(des)
Topic3 playfain
Topic2 caser hill_cripto
Topic5 advanced encryption standard (aes)
Topic1 substitution transposition-techniques
11. lzw coding
9. hofman coding in DIP
7. image enhancement using spatial filtering
5. gray level transformation
1. steps in image processing
5. convolution and correlation of discrete time signals
4. operations of signals
3. systems
2. classification of signals
1. elementary signals
4. random number and it's generating techniques
Ad

Recently uploaded (20)

PDF
ASPEN PLUS USER GUIDE - PROCESS SIMULATIONS
PPTX
quantum theory on the next future in.pptx
PPT
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
PPTX
Research Writing, Mechanical Engineering
PPT
Comprehensive Java Training Deck - Advanced topics
PDF
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
PDF
Mechanics of materials week 2 rajeshwari
PPTX
Unit IILATHEACCESSORSANDATTACHMENTS.pptx
PDF
Using Technology to Foster Innovative Teaching Practices (www.kiu.ac.ug)
PDF
Performance, energy consumption and costs: a comparative analysis of automati...
PDF
Introduction to Machine Learning -Basic concepts,Models and Description
PPTX
SE unit 1.pptx by d.y.p.akurdi aaaaaaaaaaaa
PPTX
SC Robotics Team Safety Training Presentation
PPTX
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
PPTX
Soft Skills Unit 2 Listening Speaking Reading Writing.pptx
PDF
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
PPT
Unit - I.lathemachnespct=ificationsand ppt
PPTX
Solar energy pdf of gitam songa hemant k
DOCX
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
PPTX
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
ASPEN PLUS USER GUIDE - PROCESS SIMULATIONS
quantum theory on the next future in.pptx
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
Research Writing, Mechanical Engineering
Comprehensive Java Training Deck - Advanced topics
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
Mechanics of materials week 2 rajeshwari
Unit IILATHEACCESSORSANDATTACHMENTS.pptx
Using Technology to Foster Innovative Teaching Practices (www.kiu.ac.ug)
Performance, energy consumption and costs: a comparative analysis of automati...
Introduction to Machine Learning -Basic concepts,Models and Description
SE unit 1.pptx by d.y.p.akurdi aaaaaaaaaaaa
SC Robotics Team Safety Training Presentation
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
Soft Skills Unit 2 Listening Speaking Reading Writing.pptx
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
Unit - I.lathemachnespct=ificationsand ppt
Solar energy pdf of gitam songa hemant k
ENVIRONMENTAL PROTECTION AND MANAGEMENT (18CVL756)
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
Ad

2.karnaugh map

  • 1. Karnaugh map By Md. Fazle Rabbi 16CSE057
  • 2. 4.2 • The Karnaugh map, also known as the K-map, is a method to simplify Boolean algebra expressions. • The Karnaugh map reduces the need for extensive calculations by taking advantage of humans‘ pattern-recognition capability. Karnaugh map
  • 3. 4.3 Rules of Simplification • Groups may not include any cell containing a zero • Groups may be horizontal or vertical, but not diagonal
  • 4. 4.4 • Groups must contain 1, 2, 4, 8, or in general 𝟐𝒏 cells. That is if n = 1, a group will contain two 1's since 𝟐𝟏 = 2. If n = 2, a group will contain four 1's since 𝟐𝟐 = 4. Rules of Simplification
  • 5. 4.5 Rules of Simplification • Each group should be as large as possible • Each cell containing a one must be in at least one group.
  • 6. 4.6 Rules of Simplification • Groups may overlap.
  • 7. 4.7 Rules of Simplification • Groups may wrap around the table. The leftmost cell in a row may be grouped with the rightmost cell and the top cell in a column may be grouped with the bottom cell.
  • 8. 4.8 • There should be as few groups as possible, as long as this does not contradict any of the previous rules Rules of Simplification
  • 9. 4.9 • No zeros allowed. • No diagonals. • Only power of 2 number of cells in each group. • Groups should be as large as possible. • Every one must be in at least one group. • Overlapping allowed. • Wrap around allowed. • Fewest number of groups possible Summary
  • 13. 4.13 K-Map SOP Minimization • The K-Map is used for simplifying Boolean expressions to their minimal form. • A minimized SOP expression contains the fewest possible terms with fewest possible variables per term. • Generally, a minimum SOP expression can be implemented with fewer logic gates than a standard expression.
  • 14. 4.14 Determining the Minimum SOP Expression from the Map
  • 15. 4.15 Don’t Care Conditions • A don’t care condition, marked by (X) in the truth table, indicates a condition where the design doesn’t care if the output is a (0) or a (1). • A don’t care condition can be treated as a (0) or a (1) in a K-Map. • Treating a don’t care as a (0) means that you do not need to group it. • Treating a don’t care as a (1) allows you to make a grouping larger, resulting in a simpler term in the SOP equation.