SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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?
 

En vedette

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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Dernier (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

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