SlideShare a Scribd company logo
Quine-McCluskey Method
BY UNSA SHAKIR
K-Map Pros and Cons
 K-Map is systemic
 Require the ability to identify and visualize the prime
implicants in order to cover all minterms
 But effective only up to 5-6 input variables!
 Tabular Method
 Compute all prime implicants
 Find a minimum expression for Boolean functions
 No visualization of prime implicants
 Can be programmed and implemented in a computer
Quine-McCluskey Algorithm
QM Method Example
Minterm ID W X Y Z
0 0 0 0 0
3 0 0 1 1
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
10 1 0 1 0
12 1 1 0 0
13 1 1 0 1
Minterm ID W X Y Z
2 0 0 1 0
9 1 0 0 1
15 1 1 1 1
For
Minterms:
For don’t
cares:
F(W, X,Y, Z)  m(0,3,5,6,7,10,12,13)d(2,9,15)
 Step 1 : Divide all the minterms (and don’t cares) of a
function into groups
QM Method Example
 Step 1 : Divide all the minterms (and don’t cares) of a function
into groups
Groups Minterm ID W X Y Z Merge Mark
G0 0 0 0 0 0
G1 2 0 0 1 0
3 0 0 1 1
5 0 1 0 1
G2
6
9
0
1
1
0
1
0
0
1
10 1 0 1 0
12 1 1 0 0
G3
7
13
0
1
1
1
1
0
1
1
G4 15 1 1 1 1
QM Method Example
 Step 2: Merge minterms from adjacent groups to form a new
implicant table
Groups Minterm ID W X Y Z Merge Mark
G0 0 0 0 0 0
G1 2 0 0 1 0
3 0 0 1 1
5 0 1 0 1
G2
6
9
0
1
1
0
1
0
0
1
10 1 0 1 0
12 1 1 0 0
G3
7
13
0
1
1
1
1
0
1
1
G4 15 1 1 1 1
Groups Minterm ID W X Y Z
G0' 0, 2 0 0 d 0
G1' 2, 3 0 0 1 d
2, 6 0 d 1 0
2, 10 d 0 1 0
G2' 3, 7 0 d 1 1
5, 7 0 1 d 1
6, 7 0 1 1 d
5, 13 d 1 0 1
9, 13 1 d 0 1
12, 13 1 1 0 d
G3' 7, 15 d 1 1 1
13, 15 1 1 d 1
QM Method Example
 Step 3: Repeat step 2 until no more merging is possible
Groups Minterm ID W X Y Z Merge Mark
G0' 0, 2 0 0 d 0
G1' 2, 3 0 0 1 d
2, 6 0 d 1 0
2, 10 d 0 1 0
G2' 3, 7 0 d 1 1
5, 7 0 1 d 1
6, 7
5, 13
0
d
1
1
1
0
d
1
9, 13 1 d 0 1
12, 13 1 1 0 d
G3' 7, 15 d 1 1 1
13, 15 1 1 d 1
Groups Minterm ID W X Y Z
G1’’ 2, 3, 6, 7 0 d 1 d
2, 6, 3, 7 0 d 1 d
G2’’ 5, 7, 13, 15 d 1 d 1
5, 7, 13, 15 d 1 d 1
QM Method Example
 Step 3: Repeat step 2 until no more merging is possible
Groups Minterm ID W X Y Z Merge Mark
G0'' 0, 2 0 0 d 0
G1'' 2, 3, 6, 7 0 d 1 d
2, 10 d 0 1 0
G2'' 5, 7, 13, 15 d 1 d 1
9, 13 1 d 0 1
12, 13 1 1 0 d
• No more merging possible!
QM Method Example
 Step 4: Put all prime implicants in a cover table (don’t cares
excluded)
Need not include
don’t cares
QM Method Example
 Step 5: Identify essential minterms, and hence essential prime
implicants
E.M.T E.P.I
QM Method Example
 Step 6: Add prime implicants to the minimum expression
of F until all minterms of F are covered
E.M.T E.P.I
Already cover
all minterms!
QM Method Example
F(W, X,Y, Z)  m(0,3,5,6,7,10,12,13)d(2,9,15)
• So after simplification through QM
method, a minimum expression for F(W,
X, Y, Z) is:
F(W, X ,Y ,Z) W X Z WY  XY Z  XZ WX Y
Finding Prime Implicants (PIs)
Step1
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Step2 Step3
5
9
7
11
13
15
List minterms by the number of 1s it contains.
2
3
4
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Step1 Step2 Step3
5 0101
9 1001
7 0111
11 1011
13 1101
15 1111
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Enter combinations of minterms by the number of 1s it contains.
Step1 Step2 Step3
5 0101 5,7
9 1001 2 5,13
9,11
7 0111 9,13
11 1011
13 1101 7,15
3 11,15
15 1111 13,15
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Step1 Step2 Step3
 5 0101 5,7 01-1
 9 1001 5,13 -101
9,11 10-1
 7 0111 9,13 1-01
 11 1011
 13 1101 7,15 -111
11,15 1-11
 15 1111 13,15 11-1
Check off elements used from Step 1.
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Step1 Step2 Step3
 5 0101 5,7 01-1 5,7,13,15 -1-1
 9 1001 5,13 -101 5,13,7,15 -1-1
9,11 10-1 9,11,13,15 1--1
 7 0111 9,13 1-01 9,13,11,15 1--1
 11 1011
 13 1101 7,15 -111
11,15 1-11
 15 1111 13,15 11-1
Enter combinations of minterms by the number of 1s it contains.
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(5,7,9,11,13,15)
Step1 Step2 Step3
 5 0101  5,7 01-1 5,7,13,15 -1-1
 9 1001  5,13 -101 5,13,7,15 -1-1
 9,11 10-1 9,11,13,15 1--1
 7 0111  9,13 1-01 9,13,11,15 1--1
 11 1011
 13 1101  7,15 -111
 11,15 1-11
 15 1111  13,15 11-1
The entries left unchecked are Prime Implicants.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
- 1- 1 5,7,13,15
1- - 1 9,13,11,15
Enter the Prime Implicants and their minterms.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
- 1- 1 5,7,13,15 X X X X
1- - 1 9,13,11,15 X X X X
Enter Xs for the minterms covered.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
- 1- 1 5,7,13,15 X X X X
1- - 1 9,13,11,15 X X X X
Circle Xs that are in a column singularly.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
 - 1- 1 5,7,13,15 X X X X
 1- - 1 9,13,11,15 X X X X
The circled Xs are the Essential Prime Implicants,
so we check them off.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
 - 1- 1 5,7,13,15 X X X X
 1- - 1 9,13,11,15 X X X X
     
We check off the minterms covered by each of the EPIs.
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms Minterms
5 7 9 11 13 15
 - 1- 1 5,7,13,15 X X X X
 1- - 1 9,13,11,15 X X X X
     
W X Y Z
- 1 - 1
1 - - 1
EPIs: F = (X .Z ) +(W.Z)
= (X +W).Z
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15)
Step1 Step2 Step3 Step4
2 0010
8 1000
3 0011
6 0110
10 1010
12 1100
7 0111
11 1011
14 1110
15 1111
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15)
Step1 Step2 Step3 Step4
 2 0010 2,3 001-
 8 1000 2,6 0-10
2,10 -010
 3 0011 8,10 10-0
 6 0110 8,12 1-00
 10 1010
 12 1100 3,7 0-11
3,11 -011
 7 0111 6,7 011-
 11 1011 6,14 -110
 14 1110 10,14 1-10
10,11 101-
 15 1111 12,14 11-0
7,15 -111
11,15 1-11
14,15 111-
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15)
Step1 Step2 Step3 Step4
 2 0010  2,3 001- 2,3,6,7 0-1-
 8 1000  2,6 0-10 2,6,3,7 0-1-
 2,10 -010 2,3,10,11 -01-
 3 0011  8,10 10-0 2,6,10,14 --10
 6 0110  8,12 1-00 2,10,3,11 -01-
 10 1010 2,10,6,14 --10
 12 1100  3,7 0-11 8,10,12,14 1-- 0
 3,11 -011 8,12,10,14 1-- 0
 7 0111  6,7 011-
 11 1011  6,14 -110 3,7,11,15 --11
 14 1110  10,14 1-10 3,11,7,15 --11
 10,11 101- 6,7,14,15 -11-
 15 1111  12,14 11-0 6,14,7,15 -11-
10,14,11,15 1-1-
 7,15 -111 10,11,14,15 1-1-
 11,15 1-11
 14,15 111-
Finding Prime Implicants (PIs)
F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15)
Step1 Step2 Step3 Step4
 2 0010  2,3 001-  2,3,6,7 0-1- 2,3,6,7,10,14,11,15 --1-
 8 1000  2,6 0-10  2,6,3,7 0-1- 2,3,10,11,6,14,7,15 --1-
 2,10 -010  2,3,10,11 -01- 2,6,3,7,10,11,14,15 --1-
 3 0011  8,10 10-0  2,6,10,14 --10 2,6,10,14,3,7,11,15 --1-
 6 0110  8,12 1-00  2,10,3,11 -01- 2,10,3,11,6,7,14,15 --1-
 10 1010  2,10,6,14 --10 2,10,6,14,3,11,7,15 --1-
 12 1100  3,7 0-11 8,10,12,14 1-- 0
 3,11 -011 8,12,10,14 1-- 0
 7 0111  6,7 011-
 11 1011  6,14 -110  3,7,11,15 --11
 14 1110  10,14 1-10  3,11,7,15 --11
 10,11 101-  6,7,14,15 -11-
 15 1111  12,14 11-0  6,14,7,15 -11-
 10,14,11,15 1-1-
 7,15 -111  10,11,14,15 1-1-
 11,15 1-11
 14,15 111-
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
1-- 0 8,12,10,14
- -1- 2,3,6,7,10,11,14,15
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
1-- 0 8,12,10,14 X X X X
- -1- 2,3,6,7,10,11,14,15 X X X X X X X X
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
1-- 0 8,12,10,14 X X X X
- -1- 2,3,6,7,10,11,14,15 X X X X X X X X
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
 1-- 0 8,12,10,14 X X X X
 - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
 1-- 0 8,12,10,14 X X X X
 - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
         
Finding Essential Prime Implicants (EPIs)
PrimeImplicants CoveredMinterms
2 3 6 7
Minterms
8 10 11 12 14 15
 1-- 0 8,12,10,14 X X X X
 - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
         
W X Y Z
1 - - 0
- - 1 -
EPIs: F = (W.Z’)+Y

More Related Content

What's hot

Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
Registers and its type DLD
Registers and its type DLDRegisters and its type DLD
Registers and its type DLD
Azeemaj101
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
Self-employed
 
Lti system
Lti systemLti system
Lti system
Fariza Zahari
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
DrSonali Vyas
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
SIVALAKSHMIPANNEERSE
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
Vanitha Chandru
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
Siddhi Shrivas
 
Decoders
DecodersDecoders
DecodersRe Man
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
Digital System Design
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
Attaporn Ninsuwan
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
Imran Waris
 
Lec 04 - Gate-level Minimization
Lec 04 - Gate-level MinimizationLec 04 - Gate-level Minimization
Lec 04 - Gate-level Minimization
Vajira Thambawita
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
babuece
 
K - Map
  K - Map    K - Map
K - Map
Abhishek Choksi
 
Counters
CountersCounters
Counters
Randaqra
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Self-employed
 

What's hot (20)

Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Registers and its type DLD
Registers and its type DLDRegisters and its type DLD
Registers and its type DLD
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
Lti system
Lti systemLti system
Lti system
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
 
Decoders
DecodersDecoders
Decoders
 
4 bit uni shift reg
4 bit uni shift reg4 bit uni shift reg
4 bit uni shift reg
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Chapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant SystemChapter2 - Linear Time-Invariant System
Chapter2 - Linear Time-Invariant System
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
 
Lec 04 - Gate-level Minimization
Lec 04 - Gate-level MinimizationLec 04 - Gate-level Minimization
Lec 04 - Gate-level Minimization
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
 
K - Map
  K - Map    K - Map
K - Map
 
Counters
CountersCounters
Counters
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 

Similar to quine mc cluskey method

The Mathematics of RSA Encryption
The Mathematics of RSA EncryptionThe Mathematics of RSA Encryption
The Mathematics of RSA Encryption
Nathan F. Dunn
 
Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques
Alexander Litvinenko
 
Ch15
Ch15Ch15
Datamining R 2nd
Datamining R 2ndDatamining R 2nd
Datamining R 2ndsesejun
 
Datamining r 2nd
Datamining r 2ndDatamining r 2nd
Datamining r 2ndsesejun
 
Ejercicio 8
Ejercicio 8Ejercicio 8
Ejercicio 8
hermesortiz1508
 
170925 entrepreneurial economics2
170925 entrepreneurial economics2170925 entrepreneurial economics2
170925 entrepreneurial economics2
Ryosuke Ishii
 
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn... A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
Pooyan Jamshidi
 
Office space in sohna road gurgaon
Office space in sohna road gurgaonOffice space in sohna road gurgaon
Commercial office space in gurgaon
Commercial office space in gurgaonCommercial office space in gurgaon
Commercial office space in gurgaon
Commercial office space in gurgaonCommercial office space in gurgaon
TechMathII - 1.7 - Scientific Notation Day2
TechMathII - 1.7 - Scientific Notation Day2TechMathII - 1.7 - Scientific Notation Day2
TechMathII - 1.7 - Scientific Notation Day2lmrhodes
 
Slides ensae-2016-11
Slides ensae-2016-11Slides ensae-2016-11
Slides ensae-2016-11
Arthur Charpentier
 
Math for anomaly detection
Math for anomaly detectionMath for anomaly detection
Math for anomaly detection
MenglinLiu1
 

Similar to quine mc cluskey method (17)

The Mathematics of RSA Encryption
The Mathematics of RSA EncryptionThe Mathematics of RSA Encryption
The Mathematics of RSA Encryption
 
Issta13 workshop on debugging
Issta13 workshop on debuggingIssta13 workshop on debugging
Issta13 workshop on debugging
 
Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques
 
Ch15
Ch15Ch15
Ch15
 
Datamining R 2nd
Datamining R 2ndDatamining R 2nd
Datamining R 2nd
 
Datamining r 2nd
Datamining r 2ndDatamining r 2nd
Datamining r 2nd
 
Ejercicio 8
Ejercicio 8Ejercicio 8
Ejercicio 8
 
170925 entrepreneurial economics2
170925 entrepreneurial economics2170925 entrepreneurial economics2
170925 entrepreneurial economics2
 
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn... A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
A Framework for Robust Control of Uncertainty in Self-Adaptive Software Conn...
 
Office space in sohna road gurgaon
Office space in sohna road gurgaonOffice space in sohna road gurgaon
Office space in sohna road gurgaon
 
Office space in sohna road gurgaon
Office space in sohna road gurgaonOffice space in sohna road gurgaon
Office space in sohna road gurgaon
 
Commercial office space in gurgaon
Commercial office space in gurgaonCommercial office space in gurgaon
Commercial office space in gurgaon
 
Commercial office space in gurgaon
Commercial office space in gurgaonCommercial office space in gurgaon
Commercial office space in gurgaon
 
Commercial office space in gurgaon
Commercial office space in gurgaonCommercial office space in gurgaon
Commercial office space in gurgaon
 
TechMathII - 1.7 - Scientific Notation Day2
TechMathII - 1.7 - Scientific Notation Day2TechMathII - 1.7 - Scientific Notation Day2
TechMathII - 1.7 - Scientific Notation Day2
 
Slides ensae-2016-11
Slides ensae-2016-11Slides ensae-2016-11
Slides ensae-2016-11
 
Math for anomaly detection
Math for anomaly detectionMath for anomaly detection
Math for anomaly detection
 

More from Unsa Shakir

Types of diode
Types of diodeTypes of diode
Types of diode
Unsa Shakir
 
Transistor
TransistorTransistor
Transistor
Unsa Shakir
 
Single diode circuits
Single diode circuitsSingle diode circuits
Single diode circuits
Unsa Shakir
 
Silicon control rectifier
Silicon control rectifierSilicon control rectifier
Silicon control rectifier
Unsa Shakir
 
Rectifiers
RectifiersRectifiers
Rectifiers
Unsa Shakir
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
Unsa Shakir
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplier
Unsa Shakir
 
Types of transistors
Types of transistorsTypes of transistors
Types of transistors
Unsa Shakir
 
Clipper and clamper circuits
Clipper and clamper circuitsClipper and clamper circuits
Clipper and clamper circuits
Unsa Shakir
 
kinds of distribution
 kinds of distribution kinds of distribution
kinds of distribution
Unsa Shakir
 
Probability of card
Probability of  cardProbability of  card
Probability of card
Unsa Shakir
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
Unsa Shakir
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
Unsa Shakir
 
probability
probabilityprobability
probability
Unsa Shakir
 
tree diagrams
 tree diagrams tree diagrams
tree diagrams
Unsa Shakir
 
counting techniques
counting techniquescounting techniques
counting techniques
Unsa Shakir
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
Unsa Shakir
 
frequency distribution
 frequency distribution frequency distribution
frequency distribution
Unsa Shakir
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statistics
Unsa Shakir
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theory
Unsa Shakir
 

More from Unsa Shakir (20)

Types of diode
Types of diodeTypes of diode
Types of diode
 
Transistor
TransistorTransistor
Transistor
 
Single diode circuits
Single diode circuitsSingle diode circuits
Single diode circuits
 
Silicon control rectifier
Silicon control rectifierSilicon control rectifier
Silicon control rectifier
 
Rectifiers
RectifiersRectifiers
Rectifiers
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplier
 
Types of transistors
Types of transistorsTypes of transistors
Types of transistors
 
Clipper and clamper circuits
Clipper and clamper circuitsClipper and clamper circuits
Clipper and clamper circuits
 
kinds of distribution
 kinds of distribution kinds of distribution
kinds of distribution
 
Probability of card
Probability of  cardProbability of  card
Probability of card
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
probability
probabilityprobability
probability
 
tree diagrams
 tree diagrams tree diagrams
tree diagrams
 
counting techniques
counting techniquescounting techniques
counting techniques
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
 
frequency distribution
 frequency distribution frequency distribution
frequency distribution
 
graphic representations in statistics
 graphic representations in statistics graphic representations in statistics
graphic representations in statistics
 
introduction to statistical theory
introduction to statistical theoryintroduction to statistical theory
introduction to statistical theory
 

Recently uploaded

NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

quine mc cluskey method

  • 2. K-Map Pros and Cons  K-Map is systemic  Require the ability to identify and visualize the prime implicants in order to cover all minterms  But effective only up to 5-6 input variables!  Tabular Method  Compute all prime implicants  Find a minimum expression for Boolean functions  No visualization of prime implicants  Can be programmed and implemented in a computer Quine-McCluskey Algorithm
  • 3. QM Method Example Minterm ID W X Y Z 0 0 0 0 0 3 0 0 1 1 5 0 1 0 1 6 0 1 1 0 7 0 1 1 1 10 1 0 1 0 12 1 1 0 0 13 1 1 0 1 Minterm ID W X Y Z 2 0 0 1 0 9 1 0 0 1 15 1 1 1 1 For Minterms: For don’t cares: F(W, X,Y, Z)  m(0,3,5,6,7,10,12,13)d(2,9,15)  Step 1 : Divide all the minterms (and don’t cares) of a function into groups
  • 4. QM Method Example  Step 1 : Divide all the minterms (and don’t cares) of a function into groups Groups Minterm ID W X Y Z Merge Mark G0 0 0 0 0 0 G1 2 0 0 1 0 3 0 0 1 1 5 0 1 0 1 G2 6 9 0 1 1 0 1 0 0 1 10 1 0 1 0 12 1 1 0 0 G3 7 13 0 1 1 1 1 0 1 1 G4 15 1 1 1 1
  • 5. QM Method Example  Step 2: Merge minterms from adjacent groups to form a new implicant table Groups Minterm ID W X Y Z Merge Mark G0 0 0 0 0 0 G1 2 0 0 1 0 3 0 0 1 1 5 0 1 0 1 G2 6 9 0 1 1 0 1 0 0 1 10 1 0 1 0 12 1 1 0 0 G3 7 13 0 1 1 1 1 0 1 1 G4 15 1 1 1 1 Groups Minterm ID W X Y Z G0' 0, 2 0 0 d 0 G1' 2, 3 0 0 1 d 2, 6 0 d 1 0 2, 10 d 0 1 0 G2' 3, 7 0 d 1 1 5, 7 0 1 d 1 6, 7 0 1 1 d 5, 13 d 1 0 1 9, 13 1 d 0 1 12, 13 1 1 0 d G3' 7, 15 d 1 1 1 13, 15 1 1 d 1
  • 6. QM Method Example  Step 3: Repeat step 2 until no more merging is possible Groups Minterm ID W X Y Z Merge Mark G0' 0, 2 0 0 d 0 G1' 2, 3 0 0 1 d 2, 6 0 d 1 0 2, 10 d 0 1 0 G2' 3, 7 0 d 1 1 5, 7 0 1 d 1 6, 7 5, 13 0 d 1 1 1 0 d 1 9, 13 1 d 0 1 12, 13 1 1 0 d G3' 7, 15 d 1 1 1 13, 15 1 1 d 1 Groups Minterm ID W X Y Z G1’’ 2, 3, 6, 7 0 d 1 d 2, 6, 3, 7 0 d 1 d G2’’ 5, 7, 13, 15 d 1 d 1 5, 7, 13, 15 d 1 d 1
  • 7. QM Method Example  Step 3: Repeat step 2 until no more merging is possible Groups Minterm ID W X Y Z Merge Mark G0'' 0, 2 0 0 d 0 G1'' 2, 3, 6, 7 0 d 1 d 2, 10 d 0 1 0 G2'' 5, 7, 13, 15 d 1 d 1 9, 13 1 d 0 1 12, 13 1 1 0 d • No more merging possible!
  • 8. QM Method Example  Step 4: Put all prime implicants in a cover table (don’t cares excluded) Need not include don’t cares
  • 9. QM Method Example  Step 5: Identify essential minterms, and hence essential prime implicants E.M.T E.P.I
  • 10. QM Method Example  Step 6: Add prime implicants to the minimum expression of F until all minterms of F are covered E.M.T E.P.I Already cover all minterms!
  • 11. QM Method Example F(W, X,Y, Z)  m(0,3,5,6,7,10,12,13)d(2,9,15) • So after simplification through QM method, a minimum expression for F(W, X, Y, Z) is: F(W, X ,Y ,Z) W X Z WY  XY Z  XZ WX Y
  • 12. Finding Prime Implicants (PIs) Step1 F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Step2 Step3 5 9 7 11 13 15 List minterms by the number of 1s it contains. 2 3 4
  • 13. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Step1 Step2 Step3 5 0101 9 1001 7 0111 11 1011 13 1101 15 1111
  • 14. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Enter combinations of minterms by the number of 1s it contains. Step1 Step2 Step3 5 0101 5,7 9 1001 2 5,13 9,11 7 0111 9,13 11 1011 13 1101 7,15 3 11,15 15 1111 13,15
  • 15. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Step1 Step2 Step3  5 0101 5,7 01-1  9 1001 5,13 -101 9,11 10-1  7 0111 9,13 1-01  11 1011  13 1101 7,15 -111 11,15 1-11  15 1111 13,15 11-1 Check off elements used from Step 1.
  • 16. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Step1 Step2 Step3  5 0101 5,7 01-1 5,7,13,15 -1-1  9 1001 5,13 -101 5,13,7,15 -1-1 9,11 10-1 9,11,13,15 1--1  7 0111 9,13 1-01 9,13,11,15 1--1  11 1011  13 1101 7,15 -111 11,15 1-11  15 1111 13,15 11-1 Enter combinations of minterms by the number of 1s it contains.
  • 17. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(5,7,9,11,13,15) Step1 Step2 Step3  5 0101  5,7 01-1 5,7,13,15 -1-1  9 1001  5,13 -101 5,13,7,15 -1-1  9,11 10-1 9,11,13,15 1--1  7 0111  9,13 1-01 9,13,11,15 1--1  11 1011  13 1101  7,15 -111  11,15 1-11  15 1111  13,15 11-1 The entries left unchecked are Prime Implicants.
  • 18. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15 - 1- 1 5,7,13,15 1- - 1 9,13,11,15 Enter the Prime Implicants and their minterms.
  • 19. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15 - 1- 1 5,7,13,15 X X X X 1- - 1 9,13,11,15 X X X X Enter Xs for the minterms covered.
  • 20. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15 - 1- 1 5,7,13,15 X X X X 1- - 1 9,13,11,15 X X X X Circle Xs that are in a column singularly.
  • 21. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15  - 1- 1 5,7,13,15 X X X X  1- - 1 9,13,11,15 X X X X The circled Xs are the Essential Prime Implicants, so we check them off.
  • 22. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15  - 1- 1 5,7,13,15 X X X X  1- - 1 9,13,11,15 X X X X       We check off the minterms covered by each of the EPIs.
  • 23. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms Minterms 5 7 9 11 13 15  - 1- 1 5,7,13,15 X X X X  1- - 1 9,13,11,15 X X X X       W X Y Z - 1 - 1 1 - - 1 EPIs: F = (X .Z ) +(W.Z) = (X +W).Z
  • 24. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15) Step1 Step2 Step3 Step4 2 0010 8 1000 3 0011 6 0110 10 1010 12 1100 7 0111 11 1011 14 1110 15 1111
  • 25. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15) Step1 Step2 Step3 Step4  2 0010 2,3 001-  8 1000 2,6 0-10 2,10 -010  3 0011 8,10 10-0  6 0110 8,12 1-00  10 1010  12 1100 3,7 0-11 3,11 -011  7 0111 6,7 011-  11 1011 6,14 -110  14 1110 10,14 1-10 10,11 101-  15 1111 12,14 11-0 7,15 -111 11,15 1-11 14,15 111-
  • 26. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15) Step1 Step2 Step3 Step4  2 0010  2,3 001- 2,3,6,7 0-1-  8 1000  2,6 0-10 2,6,3,7 0-1-  2,10 -010 2,3,10,11 -01-  3 0011  8,10 10-0 2,6,10,14 --10  6 0110  8,12 1-00 2,10,3,11 -01-  10 1010 2,10,6,14 --10  12 1100  3,7 0-11 8,10,12,14 1-- 0  3,11 -011 8,12,10,14 1-- 0  7 0111  6,7 011-  11 1011  6,14 -110 3,7,11,15 --11  14 1110  10,14 1-10 3,11,7,15 --11  10,11 101- 6,7,14,15 -11-  15 1111  12,14 11-0 6,14,7,15 -11- 10,14,11,15 1-1-  7,15 -111 10,11,14,15 1-1-  11,15 1-11  14,15 111-
  • 27. Finding Prime Implicants (PIs) F(W,X,Y,Z) = ∑(2,3,6,7,8,10,11,12,14,15) Step1 Step2 Step3 Step4  2 0010  2,3 001-  2,3,6,7 0-1- 2,3,6,7,10,14,11,15 --1-  8 1000  2,6 0-10  2,6,3,7 0-1- 2,3,10,11,6,14,7,15 --1-  2,10 -010  2,3,10,11 -01- 2,6,3,7,10,11,14,15 --1-  3 0011  8,10 10-0  2,6,10,14 --10 2,6,10,14,3,7,11,15 --1-  6 0110  8,12 1-00  2,10,3,11 -01- 2,10,3,11,6,7,14,15 --1-  10 1010  2,10,6,14 --10 2,10,6,14,3,11,7,15 --1-  12 1100  3,7 0-11 8,10,12,14 1-- 0  3,11 -011 8,12,10,14 1-- 0  7 0111  6,7 011-  11 1011  6,14 -110  3,7,11,15 --11  14 1110  10,14 1-10  3,11,7,15 --11  10,11 101-  6,7,14,15 -11-  15 1111  12,14 11-0  6,14,7,15 -11-  10,14,11,15 1-1-  7,15 -111  10,11,14,15 1-1-  11,15 1-11  14,15 111-
  • 28. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15 1-- 0 8,12,10,14 - -1- 2,3,6,7,10,11,14,15
  • 29. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15 1-- 0 8,12,10,14 X X X X - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
  • 30. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15 1-- 0 8,12,10,14 X X X X - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
  • 31. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15  1-- 0 8,12,10,14 X X X X  - -1- 2,3,6,7,10,11,14,15 X X X X X X X X
  • 32. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15  1-- 0 8,12,10,14 X X X X  - -1- 2,3,6,7,10,11,14,15 X X X X X X X X          
  • 33. Finding Essential Prime Implicants (EPIs) PrimeImplicants CoveredMinterms 2 3 6 7 Minterms 8 10 11 12 14 15  1-- 0 8,12,10,14 X X X X  - -1- 2,3,6,7,10,11,14,15 X X X X X X X X           W X Y Z 1 - - 0 - - 1 - EPIs: F = (W.Z’)+Y