SlideShare a Scribd company logo
1 of 17
DIGITALCOMPUTER FUNDAMENTALS
G.Vinothini M.sc.,M.phil.,
Department of Information Techonology,
Bon Secours College for Women,
Thanjavur.
 It originated from the “Map Method” proposed
by veitch also called the “Veitch Diagram” and
then modified by Karnaugh
Karnaugh map is introduced by telecom
engineer Mauruce Karnaugh in 1953 at Bell
labs.
It is a pictorial from of the truth table and
could handle up to 6 variables.
It is used to reduce or simplify a Boolean
function.
The map is made up of a table of every possible SOP
using the Number of Variables that are being used.
If 2 variables are used then a 2×2 map is used.
If 3 variables are used then a 4×2 map is used.
If 4 variables are used then a 4×4 map is used.
If 5 variables are used then a 8×4 map is used.
KARNAUGH MAP WITH 2 VARIABLES
 The karnaugh map with two variables is show in below
figure. There are four minterms for two variables; hence the
map consists of four squares, one for each minterms.
 The below map show the relationship between the squares
and the two variables.
 The two values 0 and 1 marked for each row and each
column designate the values of variables A and B
respectively.
m0 m1
m2 m3
B
0
B
1
A 0 AB AB
A 1 AB AB
KARNAUGH MAP WITH 3 VARIABLE
There are 8 minterms for three binary variables.
Therefore, the Karnaugh map consists of eight squares.
The map is show the relationship between the squares
and the three variables.
It may be noted that the minterms are not arranged in a
binary sequence, but in a sequence similar to the gray
code.
m0 m1 m3 M2
m4 m5 m7 m6
KARNAUGH MAP WITH 4 VARIABLES
The karnaugh map for four variables has 16 minterms
are shown. The map redrawn to show the relationship
between the four variables.
The rows and columns are numbered in a reflected –
code sequence, with only one digit changing value
between two adjacent rows and columns.
The minterm corresponding to each squares can be
obtained from the concatenation of the row number
with the column number.
RULES OF KARNAUGH MAP
No zeros allowed.
No diagonals.
Only power of 2 Number of cells in each group.
Group should be as large as possible.
Every one must be in at least one group.
Overlapping allowed.
Wrap arround allowed.
Fewest Number of groups possible.
Let us consider the following Boolean equation
Y=A.B+AB=AB+AB
This equation implies that A is AND with B, A
is ANDed with B, and AB is ORed with AB. Logic
circuits to use when variables and their complements
are available from other circuits. If complements are
not available we have to use an inverter .
NANDAND NOR IMPLEMENTATION
NAND IMPLEMENTATION NOR IMPLEMENTATION
The implementation of
Boolean function with NAND
gates requires that the
function be simplified in the
sum-of-products form.
Consider the Boolean
function
F=AB+CD+E
The implementation of
Boolean function with NOR
gates requires that the
function be simplified in the
product-of-sums form.
Consider the product-of-
sums expression
F=(A+B)(C+D)E
DON’T CARE CONDITION
Minterms that may produce either 0 or 1
for the function.
They are marked with an ‘ in the k map.
This happens for example , when we don't
input certain minterms to the Boolean
function.
These don’t care conditions can be used to
provide further simplification of the
algebraic expression.
OVERLAPPING GROUPS
We can use the same 1 more than once. In the
words, the same 1 can be common to two or more
groups. In figure the 1 representing the fundamental
products ABCD is part of the pair as well as part of the
octet.
Y=A+BCD
CD CD CD CD
AB 0 0 0 0
AB 0 1 0 0
AB 1 1 1 1
AB 1 1 1 1
We can also roll and overlap to get the
largest groups that can be found . The octet and
pair have a Boolean equation of y=C+BCD.
We can do better by rolling and overlapping.
The Boolean equation now becomes y=C+BD
EXAMPLE
CD CD CD CD
AB 1 1 0 0
AB 1 1 0 1
AB 1 1 0 1
AB 1 1 0 0
ELIMINATING REDUNDANT GROUPS
After encircling groups, there
is one more thing we should do
before writing the simplified
Boolean equation, for example
eliminate any group whose 1’s are
completely overlapped by other
groups.
DCF - K map

More Related Content

What's hot (20)

KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)KARNAUGH MAP(K-MAP)
KARNAUGH MAP(K-MAP)
 
KMAP
KMAPKMAP
KMAP
 
KARNAUGH MAPS
KARNAUGH MAPSKARNAUGH MAPS
KARNAUGH MAPS
 
Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01Karnaughmaprev1 130728135103-phpapp01
Karnaughmaprev1 130728135103-phpapp01
 
Rules of Karnaugh Map
Rules of Karnaugh MapRules of Karnaugh Map
Rules of Karnaugh Map
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
Karnaugh Map (K-map)
Karnaugh Map (K-map)Karnaugh Map (K-map)
Karnaugh Map (K-map)
 
Basics of K map
Basics of K mapBasics of K map
Basics of K map
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Karnaugh Graph or K-Map
Karnaugh Graph or K-MapKarnaugh Graph or K-Map
Karnaugh Graph or K-Map
 
K-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMER
K-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMERK-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMER
K-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMER
 
Don't care conditions
Don't care conditionsDon't care conditions
Don't care conditions
 
Karnaugh maps
Karnaugh mapsKarnaugh maps
Karnaugh maps
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
K map
K mapK map
K map
 
K-map method
K-map methodK-map method
K-map method
 
K Map Simplification
K Map SimplificationK Map Simplification
K Map Simplification
 
Calculus multiple integral
Calculus multiple integralCalculus multiple integral
Calculus multiple integral
 
The distributive property
The distributive propertyThe distributive property
The distributive property
 
The distributive property (1)
The distributive property (1)The distributive property (1)
The distributive property (1)
 

Similar to DCF - K map

karnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.pptkarnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.pptmichaelaaron25322
 
All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsmarangburu42
 
Karnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsKarnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsmarangburu42
 
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
 
Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functionsblaircomp2003
 
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONSADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONSijcses
 
Adaptive Map for Simplifying Boolean Expressions
Adaptive Map for Simplifying Boolean Expressions Adaptive Map for Simplifying Boolean Expressions
Adaptive Map for Simplifying Boolean Expressions IJCSES Journal
 
Karnaugh map (k map)
Karnaugh map (k map)Karnaugh map (k map)
Karnaugh map (k map)Adeen Ali
 
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
 
All Perfect Elimination Orderings & Minimal Vertex Seperators
All Perfect Elimination Orderings & Minimal Vertex SeperatorsAll Perfect Elimination Orderings & Minimal Vertex Seperators
All Perfect Elimination Orderings & Minimal Vertex Seperatorsnazlitemu
 
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.pptsonusreekumar
 

Similar to DCF - K map (20)

karnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.pptkarnaughmaprev1-130728135103-phpapp01.ppt
karnaughmaprev1-130728135103-phpapp01.ppt
 
All aboutcircuits karnaugh maps
All aboutcircuits karnaugh mapsAll aboutcircuits karnaugh maps
All aboutcircuits karnaugh maps
 
Karnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuitsKarnaugh mapping allaboutcircuits
Karnaugh mapping allaboutcircuits
 
K map
K map K map
K map
 
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
 
Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functions
 
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
 
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONSADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS
ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS
 
Adaptive Map for Simplifying Boolean Expressions
Adaptive Map for Simplifying Boolean Expressions Adaptive Map for Simplifying Boolean Expressions
Adaptive Map for Simplifying Boolean Expressions
 
Karnaugh map peresentation
Karnaugh map  peresentationKarnaugh map  peresentation
Karnaugh map peresentation
 
Karnaugh map (k map)
Karnaugh map (k map)Karnaugh map (k map)
Karnaugh map (k map)
 
Catalan Numbers
Catalan NumbersCatalan Numbers
Catalan Numbers
 
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...
 
All Perfect Elimination Orderings & Minimal Vertex Seperators
All Perfect Elimination Orderings & Minimal Vertex SeperatorsAll Perfect Elimination Orderings & Minimal Vertex Seperators
All Perfect Elimination Orderings & Minimal Vertex Seperators
 
Lar calc10 ch04_sec2
Lar calc10 ch04_sec2Lar calc10 ch04_sec2
Lar calc10 ch04_sec2
 
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
 
Unit v
Unit vUnit v
Unit v
 

More from vinothinisureshbabu (11)

SYNCHRONIZATION
SYNCHRONIZATIONSYNCHRONIZATION
SYNCHRONIZATION
 
Adobe page maker
Adobe page makerAdobe page maker
Adobe page maker
 
Operating systems
Operating systems Operating systems
Operating systems
 
Sequenential circuit-dcf
Sequenential circuit-dcfSequenential circuit-dcf
Sequenential circuit-dcf
 
DCF-Combinational circuit
DCF-Combinational circuitDCF-Combinational circuit
DCF-Combinational circuit
 
DCF- Logic gates and circuit
DCF- Logic gates and circuitDCF- Logic gates and circuit
DCF- Logic gates and circuit
 
Digital computer fundamentals
Digital computer fundamentalsDigital computer fundamentals
Digital computer fundamentals
 
Os - device management
Os - device managementOs - device management
Os - device management
 
Introduction to ms access
Introduction to ms accessIntroduction to ms access
Introduction to ms access
 
computer organization and architecture
computer organization and architecturecomputer organization and architecture
computer organization and architecture
 
Programming in c
Programming in cProgramming in c
Programming in c
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 

DCF - K map

  • 2. G.Vinothini M.sc.,M.phil., Department of Information Techonology, Bon Secours College for Women, Thanjavur.
  • 3.  It originated from the “Map Method” proposed by veitch also called the “Veitch Diagram” and then modified by Karnaugh Karnaugh map is introduced by telecom engineer Mauruce Karnaugh in 1953 at Bell labs. It is a pictorial from of the truth table and could handle up to 6 variables. It is used to reduce or simplify a Boolean function.
  • 4. The map is made up of a table of every possible SOP using the Number of Variables that are being used. If 2 variables are used then a 2×2 map is used. If 3 variables are used then a 4×2 map is used. If 4 variables are used then a 4×4 map is used. If 5 variables are used then a 8×4 map is used.
  • 5. KARNAUGH MAP WITH 2 VARIABLES  The karnaugh map with two variables is show in below figure. There are four minterms for two variables; hence the map consists of four squares, one for each minterms.  The below map show the relationship between the squares and the two variables.  The two values 0 and 1 marked for each row and each column designate the values of variables A and B respectively. m0 m1 m2 m3 B 0 B 1 A 0 AB AB A 1 AB AB
  • 6. KARNAUGH MAP WITH 3 VARIABLE There are 8 minterms for three binary variables. Therefore, the Karnaugh map consists of eight squares. The map is show the relationship between the squares and the three variables. It may be noted that the minterms are not arranged in a binary sequence, but in a sequence similar to the gray code. m0 m1 m3 M2 m4 m5 m7 m6
  • 7. KARNAUGH MAP WITH 4 VARIABLES The karnaugh map for four variables has 16 minterms are shown. The map redrawn to show the relationship between the four variables. The rows and columns are numbered in a reflected – code sequence, with only one digit changing value between two adjacent rows and columns. The minterm corresponding to each squares can be obtained from the concatenation of the row number with the column number.
  • 8. RULES OF KARNAUGH MAP No zeros allowed. No diagonals. Only power of 2 Number of cells in each group. Group should be as large as possible. Every one must be in at least one group. Overlapping allowed. Wrap arround allowed. Fewest Number of groups possible.
  • 9.
  • 10. Let us consider the following Boolean equation Y=A.B+AB=AB+AB This equation implies that A is AND with B, A is ANDed with B, and AB is ORed with AB. Logic circuits to use when variables and their complements are available from other circuits. If complements are not available we have to use an inverter .
  • 11. NANDAND NOR IMPLEMENTATION NAND IMPLEMENTATION NOR IMPLEMENTATION The implementation of Boolean function with NAND gates requires that the function be simplified in the sum-of-products form. Consider the Boolean function F=AB+CD+E The implementation of Boolean function with NOR gates requires that the function be simplified in the product-of-sums form. Consider the product-of- sums expression F=(A+B)(C+D)E
  • 12.
  • 13. DON’T CARE CONDITION Minterms that may produce either 0 or 1 for the function. They are marked with an ‘ in the k map. This happens for example , when we don't input certain minterms to the Boolean function. These don’t care conditions can be used to provide further simplification of the algebraic expression.
  • 14. OVERLAPPING GROUPS We can use the same 1 more than once. In the words, the same 1 can be common to two or more groups. In figure the 1 representing the fundamental products ABCD is part of the pair as well as part of the octet. Y=A+BCD CD CD CD CD AB 0 0 0 0 AB 0 1 0 0 AB 1 1 1 1 AB 1 1 1 1
  • 15. We can also roll and overlap to get the largest groups that can be found . The octet and pair have a Boolean equation of y=C+BCD. We can do better by rolling and overlapping. The Boolean equation now becomes y=C+BD EXAMPLE CD CD CD CD AB 1 1 0 0 AB 1 1 0 1 AB 1 1 0 1 AB 1 1 0 0
  • 16. ELIMINATING REDUNDANT GROUPS After encircling groups, there is one more thing we should do before writing the simplified Boolean equation, for example eliminate any group whose 1’s are completely overlapped by other groups.