SlideShare a Scribd company logo
1 of 18
CHAPTER 4
THE KARNAUGH-VEITCHMAP
Contents







THE THREE VARIABLE KARNAUGH MAP
THE FOUR VARIABLE KARNAUGH MAP
Karnaugh Map Simplification of SOP Expressions
KARNAUGH MAP PRODUCT OF SUM (POS)
SIMPLIFICATION
5-VARIABLE K-MAPS
DON'T CARE CONDITIONS

2
THE THREE VARIABLE
KARNAUGH MAP

Karnaugh Maps
THE FOUR VARIABLE
KARNAUGH MAP

Karnaugh Maps
Karnaugh Map Simplification of SOP
Expressions
 Grouping

the 1s

1. A group must contain either 1, 2, 4, 8,
or 16 cells.
 2. Each cell in a group must be adjacent to
one or more cells in that same group.
 3. Always include the largest possible
number of 1s in a group.
4. Each 1 on the map must be included in at
least one group.




Karnaugh Maps
Determining the Minimum SOP
Expression from the Map




1. Group the cells that have 1s.
2. Determine the minimum product terms for each group.
For a 3-variable map:









?

For a 5-variable map




A 1-cell group yields a 3-variable product term
A 2-cell group yields a 2-variable product term
A 4-cell group yields a 1-variable term
An 8-cell group yields a value of 1 for the expression

For a 4-variable map




(1)
(2)
(3)
(4)

?

3. When all the minimum product terms are derived from
the Karnaugh map, they are summed to form the minimum
SOP expression.
Karnaugh Maps
EXAMPLE


Simplify the Boolean expression:


F(x,y,z) = Σ (0,1,6,7)

7
EXAMPLE:


Simplify the Boolean expression:
F(x,y,z) = Σ (0,2,5,7)

8
EXAMPLE:


Group the 1's in each of the following
Karnaugh maps:

9
EXAMPLE:

10
KARNAUGH MAP PRODUCT OF
SUM (POS) SIMPLIFICATION
If we mark the empty squares by 0's and
combine them into valid adjacent squares,
we obtain a simplified expression of the
complement of the function, i.e., of F'.
 The complement of F' gives us back the
function F.
 Because of Demorgan's theorem, the
function so obtained is automatically in the
product of sums form.


11
EXAMPLE




Simplify the following Boolean function in (a) sum
of products and (b) product of sums.
F(w,x,y,z) = Σ (0,1,2,3,10,11,14)

12
EXAMPLE








Use a Karnaugh map to
minimize the following
POS expression.
(x+y+z)(w+x+y'+z)
(w'+x+y+z')
(w+x'+y+z)
(w'+x'+y+z)
(w+x+y+z)(w'+x+y+z)
(w+x+y'+z)
(w'+x+y+z')
(w+x'+y+z)
(w'+x'+y+z)
=Π(0,8,2,9,4,12)

13
5-VARIABLE K-MAPS (1/2)


K-maps of more than 4 variables are more
difficult to use because the geometry (hypercube
configurations) for combining adjacent squares
becomes more involved.



For 5 variables, e.g. v, w, x, y, z, we need 25 =
32 squares.



Each square has 5 neighbours.

ELC224C

Karnaugh Maps
5-VARIABLE K-MAPS (2/2)


Organized as two 4-variable K-maps. One for v'
and the other for v.
v'

wx

v

y

yz

00

01

11

m0

m1

m3

0 m4
1

m5

m7

00

m12
w

wx

10

00

01

11

10

m2

00 m16

m17

m19

m18

m6

0 m20
1

m21

m23

m22

m28

m29

m31

m30

m24

m25

m27

m26

x

m13

m15

m14
w

11
m8

m9

m11

y

yz

11

m10

10

x

10
z

z

Corresponding squares of each map are adjacent.
Can visualise this as one 4-variable K-map being on
TOP of the other 4-variable K-map.
ELC224C

Karnaugh Maps
DON'T CARE CONDITIONS










Sometimes a situation arises in which some input
variable combinations are not allowed.
Since these unallowed states will never occur in
an application involving the BCD code, they can
be treated as "don't care" terms
for each "don't care" term, an X is placed in the
cell.
When grouping the 1's, Xs can be treated as 1's
to make a larger grouping or as 0s if they cannot
be used to advantage.
Be careful do not make a group entirely of
x's.
16
Example
x
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

Inputs
y
y
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1

w
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

Output
Y
0
0
0
0
0
0
0
1
1
1
X
X
X
X
X
X
17
Example






Simplify the following
Boolean function F,
where d represents the
set of do not care
conditions
F(w,x,y,z) = Σ
(0,1,2,8,10,11)
d(w,x,y,z) = Σ
(4,6,12,13)

18

More Related Content

What's hot

Addition and Subtraction of Functions
Addition and Subtraction of FunctionsAddition and Subtraction of Functions
Addition and Subtraction of Functionsjordhuffman
 
Convolution and autocorrelation
Convolution and autocorrelationConvolution and autocorrelation
Convolution and autocorrelationMedab Abd El Malek
 
Lesson 10: What does f' say about f?
Lesson 10: What does f' say about f?Lesson 10: What does f' say about f?
Lesson 10: What does f' say about f?Matthew Leingang
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Matthew Leingang
 

What's hot (6)

Addition and Subtraction of Functions
Addition and Subtraction of FunctionsAddition and Subtraction of Functions
Addition and Subtraction of Functions
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
Convolution and autocorrelation
Convolution and autocorrelationConvolution and autocorrelation
Convolution and autocorrelation
 
Lesson 10: What does f' say about f?
Lesson 10: What does f' say about f?Lesson 10: What does f' say about f?
Lesson 10: What does f' say about f?
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?
 

Viewers also liked

Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)
Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)
Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)COLUFRAS
 
Tce em Santa Cruz do Capibaribe
Tce em Santa Cruz do CapibaribeTce em Santa Cruz do Capibaribe
Tce em Santa Cruz do CapibaribePortal NE10
 
Karol e Arthur Adoro vcs.
Karol e Arthur Adoro vcs.Karol e Arthur Adoro vcs.
Karol e Arthur Adoro vcs.MaiaraBozzetti
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraGouda Mando
 
Getting sh*t done: How design is changing the way Coolblue works - Jeffrey
Getting sh*t done: How design is changing the way Coolblue works - JeffreyGetting sh*t done: How design is changing the way Coolblue works - Jeffrey
Getting sh*t done: How design is changing the way Coolblue works - JeffreyCoolblue
 
ブレストパーティ その1
ブレストパーティ その1ブレストパーティ その1
ブレストパーティ その1Yuki Kuru
 
Exclusive Interview: Zach Awny, ConocoPhilips
Exclusive Interview: Zach Awny, ConocoPhilipsExclusive Interview: Zach Awny, ConocoPhilips
Exclusive Interview: Zach Awny, ConocoPhilipsmarketinglbcg
 
How to attract clients for your own business
How to attract clients for your own businessHow to attract clients for your own business
How to attract clients for your own businessSameer Nawab
 
Logic Design - Chapter 2: Logic Gates
Logic Design - Chapter 2: Logic GatesLogic Design - Chapter 2: Logic Gates
Logic Design - Chapter 2: Logic GatesGouda Mando
 

Viewers also liked (13)

Comunicato 8gen
Comunicato 8genComunicato 8gen
Comunicato 8gen
 
Proyecto plan de lectura final
Proyecto plan de lectura  finalProyecto plan de lectura  final
Proyecto plan de lectura final
 
Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)
Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)
Programme EXPOGEP // Programa EXPOGEP (Brasília, 02/02/2014)
 
Tce em Santa Cruz do Capibaribe
Tce em Santa Cruz do CapibaribeTce em Santa Cruz do Capibaribe
Tce em Santa Cruz do Capibaribe
 
Origins of photography
Origins of photographyOrigins of photography
Origins of photography
 
Karol e Arthur Adoro vcs.
Karol e Arthur Adoro vcs.Karol e Arthur Adoro vcs.
Karol e Arthur Adoro vcs.
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean Algebra
 
Getting sh*t done: How design is changing the way Coolblue works - Jeffrey
Getting sh*t done: How design is changing the way Coolblue works - JeffreyGetting sh*t done: How design is changing the way Coolblue works - Jeffrey
Getting sh*t done: How design is changing the way Coolblue works - Jeffrey
 
ブレストパーティ その1
ブレストパーティ その1ブレストパーティ その1
ブレストパーティ その1
 
Exclusive Interview: Zach Awny, ConocoPhilips
Exclusive Interview: Zach Awny, ConocoPhilipsExclusive Interview: Zach Awny, ConocoPhilips
Exclusive Interview: Zach Awny, ConocoPhilips
 
How to attract clients for your own business
How to attract clients for your own businessHow to attract clients for your own business
How to attract clients for your own business
 
Logic Design - Chapter 2: Logic Gates
Logic Design - Chapter 2: Logic GatesLogic Design - Chapter 2: Logic Gates
Logic Design - Chapter 2: Logic Gates
 
Maksulaekumised 12-2013
Maksulaekumised 12-2013Maksulaekumised 12-2013
Maksulaekumised 12-2013
 

Similar to Logic Design - Chapter 4: Karnaugh Maps

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
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arorakulachihansraj
 
Boolean Algebra part 5.pdf
Boolean Algebra part 5.pdfBoolean Algebra part 5.pdf
Boolean Algebra part 5.pdfRetheesh Raj
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)mihir jain
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their functionkumarankit06875
 
Program Derivation of Operations in Finite Fields of Prime Order
Program Derivation of Operations in Finite Fields of Prime OrderProgram Derivation of Operations in Finite Fields of Prime Order
Program Derivation of Operations in Finite Fields of Prime OrderCharles Southerland
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Samia Sultana
 
Modules Linear Algebra Drills
Modules Linear Algebra DrillsModules Linear Algebra Drills
Modules Linear Algebra DrillsDaniel Bragais
 
167c h a p t e r4Optimized Implementation of Logic.docx
167c h a p t e r4Optimized Implementation of Logic.docx167c h a p t e r4Optimized Implementation of Logic.docx
167c h a p t e r4Optimized Implementation of Logic.docxhyacinthshackley2629
 

Similar to Logic Design - Chapter 4: Karnaugh Maps (19)

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...
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
pos and do not care ppt.pptx
pos and do not care ppt.pptxpos and do not care ppt.pptx
pos and do not care ppt.pptx
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arora
 
Boolean Algebra part 5.pdf
Boolean Algebra part 5.pdfBoolean Algebra part 5.pdf
Boolean Algebra part 5.pdf
 
STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
 
Grade 8-slope-of-a-line
Grade 8-slope-of-a-lineGrade 8-slope-of-a-line
Grade 8-slope-of-a-line
 
KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
 
Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
 
Program Derivation of Operations in Finite Fields of Prime Order
Program Derivation of Operations in Finite Fields of Prime OrderProgram Derivation of Operations in Finite Fields of Prime Order
Program Derivation of Operations in Finite Fields of Prime Order
 
KARNAUGH MAP
KARNAUGH MAPKARNAUGH MAP
KARNAUGH MAP
 
K - Map
  K - Map    K - Map
K - Map
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5
 
Ai4 heuristic2
Ai4 heuristic2Ai4 heuristic2
Ai4 heuristic2
 
Modules Linear Algebra Drills
Modules Linear Algebra DrillsModules Linear Algebra Drills
Modules Linear Algebra Drills
 
167c h a p t e r4Optimized Implementation of Logic.docx
167c h a p t e r4Optimized Implementation of Logic.docx167c h a p t e r4Optimized Implementation of Logic.docx
167c h a p t e r4Optimized Implementation of Logic.docx
 

Recently uploaded

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 

Recently uploaded (20)

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 

Logic Design - Chapter 4: Karnaugh Maps

  • 2. Contents       THE THREE VARIABLE KARNAUGH MAP THE FOUR VARIABLE KARNAUGH MAP Karnaugh Map Simplification of SOP Expressions KARNAUGH MAP PRODUCT OF SUM (POS) SIMPLIFICATION 5-VARIABLE K-MAPS DON'T CARE CONDITIONS 2
  • 3. THE THREE VARIABLE KARNAUGH MAP Karnaugh Maps
  • 4. THE FOUR VARIABLE KARNAUGH MAP Karnaugh Maps
  • 5. Karnaugh Map Simplification of SOP Expressions  Grouping the 1s 1. A group must contain either 1, 2, 4, 8, or 16 cells.  2. Each cell in a group must be adjacent to one or more cells in that same group.  3. Always include the largest possible number of 1s in a group. 4. Each 1 on the map must be included in at least one group.   Karnaugh Maps
  • 6. Determining the Minimum SOP Expression from the Map    1. Group the cells that have 1s. 2. Determine the minimum product terms for each group. For a 3-variable map:       ? For a 5-variable map   A 1-cell group yields a 3-variable product term A 2-cell group yields a 2-variable product term A 4-cell group yields a 1-variable term An 8-cell group yields a value of 1 for the expression For a 4-variable map   (1) (2) (3) (4) ? 3. When all the minimum product terms are derived from the Karnaugh map, they are summed to form the minimum SOP expression. Karnaugh Maps
  • 7. EXAMPLE  Simplify the Boolean expression:  F(x,y,z) = Σ (0,1,6,7) 7
  • 8. EXAMPLE:  Simplify the Boolean expression: F(x,y,z) = Σ (0,2,5,7) 8
  • 9. EXAMPLE:  Group the 1's in each of the following Karnaugh maps: 9
  • 11. KARNAUGH MAP PRODUCT OF SUM (POS) SIMPLIFICATION If we mark the empty squares by 0's and combine them into valid adjacent squares, we obtain a simplified expression of the complement of the function, i.e., of F'.  The complement of F' gives us back the function F.  Because of Demorgan's theorem, the function so obtained is automatically in the product of sums form.  11
  • 12. EXAMPLE   Simplify the following Boolean function in (a) sum of products and (b) product of sums. F(w,x,y,z) = Σ (0,1,2,3,10,11,14) 12
  • 13. EXAMPLE     Use a Karnaugh map to minimize the following POS expression. (x+y+z)(w+x+y'+z) (w'+x+y+z') (w+x'+y+z) (w'+x'+y+z) (w+x+y+z)(w'+x+y+z) (w+x+y'+z) (w'+x+y+z') (w+x'+y+z) (w'+x'+y+z) =Π(0,8,2,9,4,12) 13
  • 14. 5-VARIABLE K-MAPS (1/2)  K-maps of more than 4 variables are more difficult to use because the geometry (hypercube configurations) for combining adjacent squares becomes more involved.  For 5 variables, e.g. v, w, x, y, z, we need 25 = 32 squares.  Each square has 5 neighbours. ELC224C Karnaugh Maps
  • 15. 5-VARIABLE K-MAPS (2/2)  Organized as two 4-variable K-maps. One for v' and the other for v. v' wx v y yz 00 01 11 m0 m1 m3 0 m4 1 m5 m7 00 m12 w wx 10 00 01 11 10 m2 00 m16 m17 m19 m18 m6 0 m20 1 m21 m23 m22 m28 m29 m31 m30 m24 m25 m27 m26 x m13 m15 m14 w 11 m8 m9 m11 y yz 11 m10 10 x 10 z z Corresponding squares of each map are adjacent. Can visualise this as one 4-variable K-map being on TOP of the other 4-variable K-map. ELC224C Karnaugh Maps
  • 16. DON'T CARE CONDITIONS      Sometimes a situation arises in which some input variable combinations are not allowed. Since these unallowed states will never occur in an application involving the BCD code, they can be treated as "don't care" terms for each "don't care" term, an X is placed in the cell. When grouping the 1's, Xs can be treated as 1's to make a larger grouping or as 0s if they cannot be used to advantage. Be careful do not make a group entirely of x's. 16
  • 18. Example    Simplify the following Boolean function F, where d represents the set of do not care conditions F(w,x,y,z) = Σ (0,1,2,8,10,11) d(w,x,y,z) = Σ (4,6,12,13) 18