SlideShare a Scribd company logo
Minimization of 
Switching Functions 
Unit-II
Topics: 
1. Karnaugh Map Method 
2. Prime Implicants 
3. Don’t Care Combinations 
4. Minimal SOP and POS forms 
5. Quine Mc Cluskey Tabular Method 
6. Prime Implicant Chart 
7. Simplification Rules
Simplifying Switching Functions 
 SOP and POS expressions 
==> 2-level circuits 
Minimum SOP/POS expression: 
 Minimize the number of literals 
 Minimum number of terms 
How? 
 Algebraically: I.e. using the axioms and theorems of 
Boolean algebra. 
 Karnaugh Map 
 McCluskey Method
Simplifying Switching Functions: 
K-Map 
Simplifying Theorem: 
XY + X’Y = Y 
Definition: Logical Adjacency 
Two terms are logically adjacent if they differ in only one literal: the 
literal is complemented in one term and non-complemented in the other. 
Two Logically adjacent terms can be combined into one term consisting 
of only the common literals
1. Karnaugh-Map (K-Map) 
2-dimensional representation of a truth table. 
Logically adjacent terms are physically adjacent in the map. 
2-Variable Functions: F(X,Y) = XY + X’Y 
X Y 
0 0 
0 1 
1 0 
1 1 
F(X,Y) 
m0 
m1 
m2 
m3
2-Variable K-Map 
X 
Y 
0 1 
0 
1 
X 
Y 
0 1 
0 
1 
00 
01 
10 
11 
X’Y’ 
X’Y 
XY’ 
XY 
NNoottee:: 
• Logically adjacent cells are 
physically adjacent in the k-map 
• Each cells has two adjacent cells 
X 
Y 
0 1 
0 
1 
m0 m2 
m1 m3
Function Minimization Using K-Maps 
1. Each square (minterm) in a k-map of 2 variables has 2 logically 
adjacent squares, each square in a 3-variable k-map has 3 
adjacent squares, etc. 
2. Combine only the minterms for which the function is 1. 
3. When combining terms on a k-map, group adjacent squares in 
groups of powers of 2 (I.e. 2, 4, 8, etc.). Grouping two squares 
eliminates one variables, grouping 4 squares eliminates 2 
variables, etc. 
 Can't combine a group of 3 minterms
Function Minimization Using K-Maps 
4. Group as many squares together as possible; the larger the group is 
the fewer the number of literals in the resulting product term 
5. Select as few groups as possible to cover all the minterms of the 
functions. A minterm is covered if it is included in at least one 
group. Each minterm may be covered as many times as it is 
needed; however, it must be covered at least once. 
6. In combining squares on the map, always begin with those squares 
for which there are the fewest number of adjacent squares (the 
“loneliest" squares on the map).
2. Prime Implicants 
Definitions: 
 Implicant: a product term that could be used to cover one or more 
minterms 
 Prime Implicant: A product term obtained by combining the 
maximum number of adjacent squares in the map. 
 Essential Prime Implicant: A prime implicant that covers at least 
one minterm that is not covered by any other prime implicant. 
 All essential prime implicants must be included in the final 
minimal expression.
Definitions (Cont.) 
 Cover of function: is a set of prime implicants for which 
each minterm of the function is covered by at least one 
prime implicant. 
 All essential prime implicants must be included in the 
cover of a function.
3. Don’t care conditions 
 In practice there are some applications where the function is not 
specified for certain combinations of the variables. 
 In most applications we simply don’t care what value is assumed by 
the function for the unspecified min terms. 
 It is customary to call the unspecified min terms of a function don’t-care 
conditions. 
 These don’t-care conditions can be used on a map to provide 
further simplification of the Boolean Expression.
4. Algorithm for Deriving the 
Minimal SOP 
1. Circle all prime implicants on the k-map. 
2. 2. Identify and select all essential prime implicants. 
3. Select a minimum subset of the remaining prime implicants to cover 
those minterms not covered by the essential prime implicants.
00 01 
00 
01 
11 
10 
11 10 
Four Variable K-map
ABC 
DE 
000 001 
00 
01 
11 
10 
011 010 100 101 111 110 
m16 
m17 
m19 
m18 
m20 
m21 
m23 
m22 
m28 
m29 
m31 
m30 
m24 
m25 
m27 
m26 
m0 
m1 
m3 
m2 
m4 
m5 
m7 
m6 
m12 
m13 
m15 
m14 
m8 
m9 
m11 
m10 
Five Variable K-map
More Examples 
Find min. SOP and POS expression for each of the 
following functions 
1. F(A,B,C,D) = S m(2,3,5,7,10,11,13,14,15) 
2. G(W,X,Y,Z)= P M(1,3,4,5,7) 
3. H(A,B,C,D) = Sm(1,3,4,7,11)+d(5,12,13,14,15) 
4. F2(A,B,C,D)= S m(1,2,7,12,15)+d(5,9,10,11,13) 
5. F3(A,B,C,D,E) = S 
m(0,1,2,4,5,6,13,15,16,18,22,24,26,29)
TTaabbuullaattiioonn 
MMeetthhoodd
5. Tabulation Method 
 Map method is a trial-and-error procedure 
 Tabulation method performs thorough search 
 It starts with SOM and consists of 2 steps: 
 PIs generation 
 group minterms by number of 1s 
 compare minterms & find pairs that differ in 1 variable 
 generate subcubes 
 repeat the above 3 steps to generate subcubes until no more 
subcubes can be generated 
 Minimal cover generation 
 find EPIs through a selection table 
 find minimal cover through the POS of PIs
Example: simplify w’y’z’ + wz + xyz + w’y 
 K-map representation: 
 PIs generation: 
 0-subcubes 
00 01 11 10 
yz 
wx 
00 1 0 1 1 
01 1 0 1 1 
11 0 1 1 0 
10 0 1 1 0
Example: simplify w’y’z’ + wz + xyz + w’y (cont.) 
 1-subcubes 
 2-subcubes
Example: simplify w’y’z’ + wz + xyz + w’y (cont.) 
 Minimal cover generation: 
 EPIs selection 
 PI list: w’z’, w’y, yz, wz 
 EPI list: w’z’, wz 
 POS: (P2 + P3)(P2 + P3) = P2 + P3 
 Minimal cover expressions: 
 F1 = w’z’ + wz + w’y 
 F2 = w’z’ + wz + yz
Another example 
 K-map representation: 
 PIs generation: 
00 01 11 10 
yz 
wx 
00 0 0 0 1 
01 0 0 1 1 
11 0 1 1 0 
10 1 1 0 0 
 0-subcubes, 1-subcubes
Another example (cont.) 
 Minimal cover generation: 
 EPIs selection 
 PI list: w’yz’, x’y’z, w’xy, wx’z, xyz, wyz 
 EPI list: w’yz’, x’y’z 
 POS: (P3 + P5)(P4 + P6)(P5 + P6) = 
(P3 + P5)(P4P5 + P5P6 + P4P6 + P6) = 
P3P4P5 + P4P5 + P3P6 + P5P6 
 Minimal cover expressions: 
 F1 = w’yz’ + x’y’z + wx’z + xyz 
 F2 = w’yz’ + x’y’z + w’xy + wyz 
 F3 = w’yz’ + x’y’z + xyz + wyz
EXAMPLE 
f on = {m0, m1, m2, m3, m5, m8, m10, m11, m13, m15} = å (0, 1, 2, 3, 5, 8, 10, 11, 13, 
15) 
Minterm Cube 
0 0 0 0 0  
1 0 0 0 1  
2 0 0 1 0  
8 1 0 0 0  
3 0 0 1 1  
5 0 1 0 1  
10 1 0 1 0  
11 1 0 1 1  
13 1 1 0 1  
15 1 1 1 1  
Minterm Cube 
0,1 0 0 0 -  
0,2 0 0 - 0  
0,8 - 0 0 0  
1,3 0 0 - 1  
1,5 0 - 0 1 PI=D 
2,3 0 0 1 -  
2,10 - 0 1 0  
8,10 1 0 - 0  
3,11 - 0 1 1  
5,13 - 1 0 1 PI=E 
10,11 1 0 1 -  
11,15 1 - 1 1 PI=F 
13,15 1 1 - 1 PI=G 
Minterm Cube 
0,1,2,3 0 0 - - PI=A 
0,8,2,10 - 0 - 0 PI=C 
2,3,10,11 - 0 1 - PI=B 
f on = {A,B,C,D,E,F,G} = {00--, -01-, -0-0, 0-01, -101, 1-11, 11-1}
6. Construct Cover Table 
 PIs Along Vertical Axis (in order of # of literals) 
 Minterms Along Horizontal Axis 
0 1 2 3 5 8 10 11 13 15 
A x x x x 
B x x x x 
C x x x x 
D x x 
E x x 
F x x 
G x x
Finding the Minimum Cover 
 Extract All Essential Prime Implicants, EPI 
 EPIs are the PI for which a Single x Appears in a Column 
0 1 2 3 5 8 10 11 13 15 
A x x x x 
B x x x x 
C x x x x 
D x x 
E x x 
F x x 
G x x 
• C is an EPI . 
• Row C and Columns 0, 2, 8, and 10 can be Eliminated 
Giving Reduced Cover Table 
• Examine Reduced Table for New EPIs
Reduced Table 
0 1 2 3 5 8 10 11 13 15 
A x x x x 
B x x x x 
C x x x x 
D x x 
E x x 
F x x 
G x x 
1 3 5 11 13 15 
A x x 
B x x 
D x x 
E x x 
F x x 
G x x 
Essential row 
Distinguished Column 
•The Row of an EPI is an 
Essential row 
•The Column of the Single x in 
the Essential Row is a 
Distinguished Column
The Reduced Cover Table 
 Initially, Columns 0, 2, 8 and 10 Removed 
1 3 5 11 13 15 
A x x 
B x x 
D x x 
E x x 
F x x 
G x x 
• No EPIs are Present 
• No Row Dominance Exists 
• No Column Dominance Exists 
• This is Cyclic Cover Table 
• Must Solve Exactly OR Use a Heuristic
STLD- Switching functions

More Related Content

What's hot

Interface in java
Interface in javaInterface in java
Interface in java
PhD Research Scholar
 
Method Overloading in Java
Method Overloading in JavaMethod Overloading in Java
Method Overloading in Java
Sonya Akter Rupa
 
Control Statements in Java
Control Statements in JavaControl Statements in Java
Control Statements in Java
Niloy Saha
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
TMARAGATHAM
 
Java and its features
Java and its featuresJava and its features
Java and its features
Pydi Nikhil
 
Exception handling
Exception handling Exception handling
Exception handling
M Vishnuvardhan Reddy
 
Dependency injection in Java, from naive to functional
Dependency injection in Java, from naive to functionalDependency injection in Java, from naive to functional
Dependency injection in Java, from naive to functional
Marian Wamsiedel
 
Packages in java
Packages in javaPackages in java
Packages in java
Kavitha713564
 
MATLAB Programming
MATLAB Programming MATLAB Programming
MATLAB Programming
محمدعبد الحى
 
Exception handling c++
Exception handling c++Exception handling c++
Exception handling c++
Jayant Dalvi
 
File handling in c
File handling in cFile handling in c
File handling in c
David Livingston J
 
Java exception handling ppt
Java exception handling pptJava exception handling ppt
Java exception handling ppt
JavabynataraJ
 
Wrapper class
Wrapper classWrapper class
Wrapper class
kamal kotecha
 
Multithreading In Java
Multithreading In JavaMultithreading In Java
Multithreading In Java
parag
 
Exception Handling in Java
Exception Handling in JavaException Handling in Java
Exception Handling in Java
Ganesh kumar reddy
 
Control statements in java
Control statements in javaControl statements in java
Control statements in java
Madishetty Prathibha
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
josemachoco
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
arvind pandey
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
MONIRUL ISLAM
 
Applet and graphics programming
Applet and graphics programmingApplet and graphics programming
Applet and graphics programming
srijavel
 

What's hot (20)

Interface in java
Interface in javaInterface in java
Interface in java
 
Method Overloading in Java
Method Overloading in JavaMethod Overloading in Java
Method Overloading in Java
 
Control Statements in Java
Control Statements in JavaControl Statements in Java
Control Statements in Java
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
 
Java and its features
Java and its featuresJava and its features
Java and its features
 
Exception handling
Exception handling Exception handling
Exception handling
 
Dependency injection in Java, from naive to functional
Dependency injection in Java, from naive to functionalDependency injection in Java, from naive to functional
Dependency injection in Java, from naive to functional
 
Packages in java
Packages in javaPackages in java
Packages in java
 
MATLAB Programming
MATLAB Programming MATLAB Programming
MATLAB Programming
 
Exception handling c++
Exception handling c++Exception handling c++
Exception handling c++
 
File handling in c
File handling in cFile handling in c
File handling in c
 
Java exception handling ppt
Java exception handling pptJava exception handling ppt
Java exception handling ppt
 
Wrapper class
Wrapper classWrapper class
Wrapper class
 
Multithreading In Java
Multithreading In JavaMultithreading In Java
Multithreading In Java
 
Exception Handling in Java
Exception Handling in JavaException Handling in Java
Exception Handling in Java
 
Control statements in java
Control statements in javaControl statements in java
Control statements in java
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 
Applet and graphics programming
Applet and graphics programmingApplet and graphics programming
Applet and graphics programming
 

Viewers also liked

electromagnetic fields-1
   electromagnetic fields-1   electromagnetic fields-1
electromagnetic fields-1
Abhinay Potlabathini
 
Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
Abhinay Potlabathini
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.
Anto Jose Moyalan
 
Network switches, functions & role in networks
Network switches, functions & role in networksNetwork switches, functions & role in networks
Network switches, functions & role in networks
IT Tech
 
Circuit Switching
Circuit SwitchingCircuit Switching
Circuit Switching
Miles Kevin Galario
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answers
manish katara
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
Lekashri Subramanian
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switching
Sneha Dalvi
 

Viewers also liked (8)

electromagnetic fields-1
   electromagnetic fields-1   electromagnetic fields-1
electromagnetic fields-1
 
Unit 1(stld)
Unit 1(stld)Unit 1(stld)
Unit 1(stld)
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.
 
Network switches, functions & role in networks
Network switches, functions & role in networksNetwork switches, functions & role in networks
Network switches, functions & role in networks
 
Circuit Switching
Circuit SwitchingCircuit Switching
Circuit Switching
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answers
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switching
 

Similar to STLD- Switching functions

Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
Abhinay Potlabathini
 
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
kumarankit06875
 
Karnaugh
KarnaughKarnaugh
Karnaugh
camilosena
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
ssuserf7cd2b
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
kndnewguade
 
Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arora
kulachihansraj
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
tech4us
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
tech4us
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
GargiKhanna1
 
K - Map
  K - Map    K - Map
K - Map
Abhishek Choksi
 
Document from Saikrish.S.pdf
Document from Saikrish.S.pdfDocument from Saikrish.S.pdf
Document from Saikrish.S.pdf
MeenakshiKS22BCE1551
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
SwathiSundari
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptx
divanshujain8
 
شيت دمحمددسوقى
شيت دمحمددسوقىشيت دمحمددسوقى
شيت دمحمددسوقى
abdoo2020
 
Modules Linear Algebra Drills
Modules Linear Algebra DrillsModules Linear Algebra Drills
Modules Linear Algebra Drills
Daniel Bragais
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions Manual
LewisSimmonss
 
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITSEXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
VLSICS Design
 
Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
Prof. Dr. K. Adisesha
 
Docslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tablesDocslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tables
barasActuarial
 
Intoduction to Computer Appl 1st_coa.pptx
Intoduction to Computer  Appl 1st_coa.pptxIntoduction to Computer  Appl 1st_coa.pptx
Intoduction to Computer Appl 1st_coa.pptx
gadisaAdamu
 

Similar to STLD- Switching functions (20)

Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
 
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
 
Karnaugh
KarnaughKarnaugh
Karnaugh
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Chapter-3.pdf
Chapter-3.pdfChapter-3.pdf
Chapter-3.pdf
 
Kmaps By Ms Nita Arora
Kmaps By Ms Nita AroraKmaps By Ms Nita Arora
Kmaps By Ms Nita Arora
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Karnaugh Map
Karnaugh MapKarnaugh Map
Karnaugh Map
 
K - Map
  K - Map    K - Map
K - Map
 
Document from Saikrish.S.pdf
Document from Saikrish.S.pdfDocument from Saikrish.S.pdf
Document from Saikrish.S.pdf
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptx
 
شيت دمحمددسوقى
شيت دمحمددسوقىشيت دمحمددسوقى
شيت دمحمددسوقى
 
Modules Linear Algebra Drills
Modules Linear Algebra DrillsModules Linear Algebra Drills
Modules Linear Algebra Drills
 
Econometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions ManualEconometric Analysis 8th Edition Greene Solutions Manual
Econometric Analysis 8th Edition Greene Solutions Manual
 
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITSEXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
EXTENDED K-MAP FOR MINIMIZING MULTIPLE OUTPUT LOGIC CIRCUITS
 
Digital logic circuits
Digital  logic  circuitsDigital  logic  circuits
Digital logic circuits
 
Docslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tablesDocslide.us 2002 formulae-and-tables
Docslide.us 2002 formulae-and-tables
 
Intoduction to Computer Appl 1st_coa.pptx
Intoduction to Computer  Appl 1st_coa.pptxIntoduction to Computer  Appl 1st_coa.pptx
Intoduction to Computer Appl 1st_coa.pptx
 

More from Abhinay Potlabathini

A11 microprocessors & microcontrollers (common to eee, ece and ecm)
A11 microprocessors & microcontrollers (common to eee, ece and ecm)A11 microprocessors & microcontrollers (common to eee, ece and ecm)
A11 microprocessors & microcontrollers (common to eee, ece and ecm)
Abhinay Potlabathini
 
A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )
Abhinay Potlabathini
 
A12 microprocessors & microcontrollers (common to eee & ecm)
A12 microprocessors & microcontrollers (common to eee & ecm)A12 microprocessors & microcontrollers (common to eee & ecm)
A12 microprocessors & microcontrollers (common to eee & ecm)
Abhinay Potlabathini
 
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
Abhinay Potlabathini
 
GME - Unit 1
GME - Unit 1GME - Unit 1
GME - Unit 1
Abhinay Potlabathini
 
Op amps-and-linear-integrated-circuits-pdf
Op amps-and-linear-integrated-circuits-pdfOp amps-and-linear-integrated-circuits-pdf
Op amps-and-linear-integrated-circuits-pdf
Abhinay Potlabathini
 
Op-amp & its characteristics
Op-amp  & its characteristics Op-amp  & its characteristics
Op-amp & its characteristics
Abhinay Potlabathini
 
Underground cables
Underground cablesUnderground cables
Underground cables
Abhinay Potlabathini
 
Underground cables (1)
Underground cables  (1)Underground cables  (1)
Underground cables (1)
Abhinay Potlabathini
 
Proximity effect
Proximity effectProximity effect
Proximity effect
Abhinay Potlabathini
 
Insulators
Insulators Insulators
Corona1
Corona1Corona1
Capacitance
CapacitanceCapacitance
Coulombs law
Coulombs law Coulombs law
Coulombs law
Abhinay Potlabathini
 
Gauss law 1
Gauss law 1Gauss law 1
maxwells equation
 maxwells equation maxwells equation
maxwells equation
Abhinay Potlabathini
 
Emf applications
Emf applicationsEmf applications
Emf applications
Abhinay Potlabathini
 
Magnetic circuits (EMF)
Magnetic circuits (EMF)Magnetic circuits (EMF)
Magnetic circuits (EMF)
Abhinay Potlabathini
 
Poynting vector
Poynting vectorPoynting vector
Poynting vector
Abhinay Potlabathini
 
electric field, (dipoles)
  electric field, (dipoles)  electric field, (dipoles)
electric field, (dipoles)
Abhinay Potlabathini
 

More from Abhinay Potlabathini (20)

A11 microprocessors & microcontrollers (common to eee, ece and ecm)
A11 microprocessors & microcontrollers (common to eee, ece and ecm)A11 microprocessors & microcontrollers (common to eee, ece and ecm)
A11 microprocessors & microcontrollers (common to eee, ece and ecm)
 
A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )A10 microprocessor & microcontrollers ( eee, ece & ecm )
A10 microprocessor & microcontrollers ( eee, ece & ecm )
 
A12 microprocessors & microcontrollers (common to eee & ecm)
A12 microprocessors & microcontrollers (common to eee & ecm)A12 microprocessors & microcontrollers (common to eee & ecm)
A12 microprocessors & microcontrollers (common to eee & ecm)
 
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
A10 a11-microprocessor & microcontrollers (common to eee, ece & ecm)
 
GME - Unit 1
GME - Unit 1GME - Unit 1
GME - Unit 1
 
Op amps-and-linear-integrated-circuits-pdf
Op amps-and-linear-integrated-circuits-pdfOp amps-and-linear-integrated-circuits-pdf
Op amps-and-linear-integrated-circuits-pdf
 
Op-amp & its characteristics
Op-amp  & its characteristics Op-amp  & its characteristics
Op-amp & its characteristics
 
Underground cables
Underground cablesUnderground cables
Underground cables
 
Underground cables (1)
Underground cables  (1)Underground cables  (1)
Underground cables (1)
 
Proximity effect
Proximity effectProximity effect
Proximity effect
 
Insulators
Insulators Insulators
Insulators
 
Corona1
Corona1Corona1
Corona1
 
Capacitance
CapacitanceCapacitance
Capacitance
 
Coulombs law
Coulombs law Coulombs law
Coulombs law
 
Gauss law 1
Gauss law 1Gauss law 1
Gauss law 1
 
maxwells equation
 maxwells equation maxwells equation
maxwells equation
 
Emf applications
Emf applicationsEmf applications
Emf applications
 
Magnetic circuits (EMF)
Magnetic circuits (EMF)Magnetic circuits (EMF)
Magnetic circuits (EMF)
 
Poynting vector
Poynting vectorPoynting vector
Poynting vector
 
electric field, (dipoles)
  electric field, (dipoles)  electric field, (dipoles)
electric field, (dipoles)
 

Recently uploaded

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 

STLD- Switching functions

  • 1. Minimization of Switching Functions Unit-II
  • 2. Topics: 1. Karnaugh Map Method 2. Prime Implicants 3. Don’t Care Combinations 4. Minimal SOP and POS forms 5. Quine Mc Cluskey Tabular Method 6. Prime Implicant Chart 7. Simplification Rules
  • 3. Simplifying Switching Functions  SOP and POS expressions ==> 2-level circuits Minimum SOP/POS expression:  Minimize the number of literals  Minimum number of terms How?  Algebraically: I.e. using the axioms and theorems of Boolean algebra.  Karnaugh Map  McCluskey Method
  • 4. Simplifying Switching Functions: K-Map Simplifying Theorem: XY + X’Y = Y Definition: Logical Adjacency Two terms are logically adjacent if they differ in only one literal: the literal is complemented in one term and non-complemented in the other. Two Logically adjacent terms can be combined into one term consisting of only the common literals
  • 5. 1. Karnaugh-Map (K-Map) 2-dimensional representation of a truth table. Logically adjacent terms are physically adjacent in the map. 2-Variable Functions: F(X,Y) = XY + X’Y X Y 0 0 0 1 1 0 1 1 F(X,Y) m0 m1 m2 m3
  • 6. 2-Variable K-Map X Y 0 1 0 1 X Y 0 1 0 1 00 01 10 11 X’Y’ X’Y XY’ XY NNoottee:: • Logically adjacent cells are physically adjacent in the k-map • Each cells has two adjacent cells X Y 0 1 0 1 m0 m2 m1 m3
  • 7. Function Minimization Using K-Maps 1. Each square (minterm) in a k-map of 2 variables has 2 logically adjacent squares, each square in a 3-variable k-map has 3 adjacent squares, etc. 2. Combine only the minterms for which the function is 1. 3. When combining terms on a k-map, group adjacent squares in groups of powers of 2 (I.e. 2, 4, 8, etc.). Grouping two squares eliminates one variables, grouping 4 squares eliminates 2 variables, etc.  Can't combine a group of 3 minterms
  • 8. Function Minimization Using K-Maps 4. Group as many squares together as possible; the larger the group is the fewer the number of literals in the resulting product term 5. Select as few groups as possible to cover all the minterms of the functions. A minterm is covered if it is included in at least one group. Each minterm may be covered as many times as it is needed; however, it must be covered at least once. 6. In combining squares on the map, always begin with those squares for which there are the fewest number of adjacent squares (the “loneliest" squares on the map).
  • 9. 2. Prime Implicants Definitions:  Implicant: a product term that could be used to cover one or more minterms  Prime Implicant: A product term obtained by combining the maximum number of adjacent squares in the map.  Essential Prime Implicant: A prime implicant that covers at least one minterm that is not covered by any other prime implicant.  All essential prime implicants must be included in the final minimal expression.
  • 10. Definitions (Cont.)  Cover of function: is a set of prime implicants for which each minterm of the function is covered by at least one prime implicant.  All essential prime implicants must be included in the cover of a function.
  • 11. 3. Don’t care conditions  In practice there are some applications where the function is not specified for certain combinations of the variables.  In most applications we simply don’t care what value is assumed by the function for the unspecified min terms.  It is customary to call the unspecified min terms of a function don’t-care conditions.  These don’t-care conditions can be used on a map to provide further simplification of the Boolean Expression.
  • 12. 4. Algorithm for Deriving the Minimal SOP 1. Circle all prime implicants on the k-map. 2. 2. Identify and select all essential prime implicants. 3. Select a minimum subset of the remaining prime implicants to cover those minterms not covered by the essential prime implicants.
  • 13. 00 01 00 01 11 10 11 10 Four Variable K-map
  • 14. ABC DE 000 001 00 01 11 10 011 010 100 101 111 110 m16 m17 m19 m18 m20 m21 m23 m22 m28 m29 m31 m30 m24 m25 m27 m26 m0 m1 m3 m2 m4 m5 m7 m6 m12 m13 m15 m14 m8 m9 m11 m10 Five Variable K-map
  • 15. More Examples Find min. SOP and POS expression for each of the following functions 1. F(A,B,C,D) = S m(2,3,5,7,10,11,13,14,15) 2. G(W,X,Y,Z)= P M(1,3,4,5,7) 3. H(A,B,C,D) = Sm(1,3,4,7,11)+d(5,12,13,14,15) 4. F2(A,B,C,D)= S m(1,2,7,12,15)+d(5,9,10,11,13) 5. F3(A,B,C,D,E) = S m(0,1,2,4,5,6,13,15,16,18,22,24,26,29)
  • 17. 5. Tabulation Method  Map method is a trial-and-error procedure  Tabulation method performs thorough search  It starts with SOM and consists of 2 steps:  PIs generation  group minterms by number of 1s  compare minterms & find pairs that differ in 1 variable  generate subcubes  repeat the above 3 steps to generate subcubes until no more subcubes can be generated  Minimal cover generation  find EPIs through a selection table  find minimal cover through the POS of PIs
  • 18. Example: simplify w’y’z’ + wz + xyz + w’y  K-map representation:  PIs generation:  0-subcubes 00 01 11 10 yz wx 00 1 0 1 1 01 1 0 1 1 11 0 1 1 0 10 0 1 1 0
  • 19. Example: simplify w’y’z’ + wz + xyz + w’y (cont.)  1-subcubes  2-subcubes
  • 20. Example: simplify w’y’z’ + wz + xyz + w’y (cont.)  Minimal cover generation:  EPIs selection  PI list: w’z’, w’y, yz, wz  EPI list: w’z’, wz  POS: (P2 + P3)(P2 + P3) = P2 + P3  Minimal cover expressions:  F1 = w’z’ + wz + w’y  F2 = w’z’ + wz + yz
  • 21. Another example  K-map representation:  PIs generation: 00 01 11 10 yz wx 00 0 0 0 1 01 0 0 1 1 11 0 1 1 0 10 1 1 0 0  0-subcubes, 1-subcubes
  • 22. Another example (cont.)  Minimal cover generation:  EPIs selection  PI list: w’yz’, x’y’z, w’xy, wx’z, xyz, wyz  EPI list: w’yz’, x’y’z  POS: (P3 + P5)(P4 + P6)(P5 + P6) = (P3 + P5)(P4P5 + P5P6 + P4P6 + P6) = P3P4P5 + P4P5 + P3P6 + P5P6  Minimal cover expressions:  F1 = w’yz’ + x’y’z + wx’z + xyz  F2 = w’yz’ + x’y’z + w’xy + wyz  F3 = w’yz’ + x’y’z + xyz + wyz
  • 23. EXAMPLE f on = {m0, m1, m2, m3, m5, m8, m10, m11, m13, m15} = å (0, 1, 2, 3, 5, 8, 10, 11, 13, 15) Minterm Cube 0 0 0 0 0  1 0 0 0 1  2 0 0 1 0  8 1 0 0 0  3 0 0 1 1  5 0 1 0 1  10 1 0 1 0  11 1 0 1 1  13 1 1 0 1  15 1 1 1 1  Minterm Cube 0,1 0 0 0 -  0,2 0 0 - 0  0,8 - 0 0 0  1,3 0 0 - 1  1,5 0 - 0 1 PI=D 2,3 0 0 1 -  2,10 - 0 1 0  8,10 1 0 - 0  3,11 - 0 1 1  5,13 - 1 0 1 PI=E 10,11 1 0 1 -  11,15 1 - 1 1 PI=F 13,15 1 1 - 1 PI=G Minterm Cube 0,1,2,3 0 0 - - PI=A 0,8,2,10 - 0 - 0 PI=C 2,3,10,11 - 0 1 - PI=B f on = {A,B,C,D,E,F,G} = {00--, -01-, -0-0, 0-01, -101, 1-11, 11-1}
  • 24. 6. Construct Cover Table  PIs Along Vertical Axis (in order of # of literals)  Minterms Along Horizontal Axis 0 1 2 3 5 8 10 11 13 15 A x x x x B x x x x C x x x x D x x E x x F x x G x x
  • 25. Finding the Minimum Cover  Extract All Essential Prime Implicants, EPI  EPIs are the PI for which a Single x Appears in a Column 0 1 2 3 5 8 10 11 13 15 A x x x x B x x x x C x x x x D x x E x x F x x G x x • C is an EPI . • Row C and Columns 0, 2, 8, and 10 can be Eliminated Giving Reduced Cover Table • Examine Reduced Table for New EPIs
  • 26. Reduced Table 0 1 2 3 5 8 10 11 13 15 A x x x x B x x x x C x x x x D x x E x x F x x G x x 1 3 5 11 13 15 A x x B x x D x x E x x F x x G x x Essential row Distinguished Column •The Row of an EPI is an Essential row •The Column of the Single x in the Essential Row is a Distinguished Column
  • 27. The Reduced Cover Table  Initially, Columns 0, 2, 8 and 10 Removed 1 3 5 11 13 15 A x x B x x D x x E x x F x x G x x • No EPIs are Present • No Row Dominance Exists • No Column Dominance Exists • This is Cyclic Cover Table • Must Solve Exactly OR Use a Heuristic