SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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?
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Kürzlich hochgeladen (20)

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
 
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"
 
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"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

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