SlideShare a Scribd company logo
Gate-Level Minimization
D.R.V.L.B Thambawita
August 27, 2017
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
The map method is also known as the Karnaugh mapor
K-map
A K-map is a diagram made up of squares, with each square
representing one minterm of the function that is to be
minimized
The simplified expressions produced by the map are always in
one of the two standard forms:
sum of products or
product of sums
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: Two-variable K-map
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: Representation of functions in the map
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Three-Variable K-Map
There are eight minterms for three binary variables; therefore,
the map consists of eight squares
Only one bit changes in value from one adjacent column to
the next
Figure: Three-variable K-map
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Simplify the Boolean function
F(x, y, z) = Σ(2, 3, 4, 5)
F(x, y, z) = Σ(3, 4, 6, 7)
F(x, y, z) = Σ(0, 2, 4, 5, 6)
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: F(x, y, z) = Σ(2, 3, 4, 5) = x y + xy
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: F(x, y, z) = Σ(3, 4, 6, 7) = yz + xz
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: F(x, y, z) = Σ(0, 2, 4, 5, 6) = z + xy
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: Four-variable map
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Simplify the Boolean function
F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14)
F = A B C + B CD + A BCD + AB C
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) = y + w z + xz
D.R.V.L.B Thambawita Gate-Level Minimization
THE MAP METHOD
Figure: A B C + B CD + A BCD + AB C = B D + B C + A CD
D.R.V.L.B Thambawita Gate-Level Minimization
Prime Implicants
A prime implicant is a product term obtained by combining
the maximum possible number of adjacent squares in the map
If a minterm in a square is covered by only one prime
implicant, that prime implicant is said to be essential
The prime implicants of a function can be obtained from the
map by combining all possible maximum numbers of squares
Ex: F(A, B, C, D) = Σ(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15)
D.R.V.L.B Thambawita Gate-Level Minimization
Prime Implicants
Figure: Simplification using prime implicants
D.R.V.L.B Thambawita Gate-Level Minimization
Prime Implicants
The simplified expression is obtained from the logical sum of the
two essential prime implicants and any two prime implicants that
cover minterms m3, m9, and m11.
D.R.V.L.B Thambawita Gate-Level Minimization
PRODUCT-OF-SUMS SIMPLIFICATION
Simplify the Boolean function:
F(A, B, C, D) = Σ(0, 1, 2, 5, 8, 9, 10) into
1 sum-of-products form
2 product-of-sums form
D.R.V.L.B Thambawita Gate-Level Minimization
PRODUCT-OF-SUMS SIMPLIFICATION
Combining the squares with 1’s gives the simplified function in
sum-of-products form:
F = B D + B C + A C D
If the squares marked with 0’s are combined, as shown in the
diagram, we obtain the simplified complemented function:
F = AB + CD + BD
Applying DeMorgan’s theorem
F=(A’ +B’) (C’ +D’) (B’ +D)
D.R.V.L.B Thambawita Gate-Level Minimization
DONT-CARE CONDITIONS
Functions that have unspecified outputs for some input
combinations are called incompletely specified functions
In most applications, we simply don’t care what value is
assumed by the function for the unspecified minterms
For this reason, it is customary to call the unspecified
minterms of a function don’t-care conditions
Simplify the Boolean function
F(w, x, y, z) = Σ(1, 3, 7, 11, 15)
Which has the dont-care conditions
d(w, x, y, z) = Σ(0, 2, 5)
D.R.V.L.B Thambawita Gate-Level Minimization
DON’T-CARE CONDITIONS
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Digital circuits are frequently constructed with NAND or NOR
gates rather than with AND and OR gates.
NAND and NOR gates are easier to fabricate with electronic
components and are the basic gates used in all IC digital logic
families
NAND Circuits
The NAND gate is said to be a universal gate because any
logic circuit can be implemented with it
A convenient way to implement a Boolean function with
NAND gates is to obtain the simplified Boolean function in
terms of Boolean operators and then convert the function to
NAND logic
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Figure: Logic operations with NAND gates
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Figure: Two graphic symbols for a three-input NAND gate
Implement the following Boolean function with NAND gates:
F = AB + CD
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
The implementation of Boolean functions with NAND gates
requires that the functions be in sum-of-products form.
Figure: Three ways to implement F = AB + CD
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
The procedure for obtaining the logic diagram from a Boolean
function is as follows:
1 Simplify the function and express it in sum-of-products form.
2 Draw a NAND gate for each product term of the expression
that has at least two literals. The inputs to each NAND gate
are the literals of the term. This procedure produces a group
of first-level gates.
3 Draw a single gate using the AND-invert or the invert-OR
graphic symbol in the second level, with inputs coming from
outputs of first-level gates.
4 A term with a single literal requires an inverter in the first
level. However, if the single literal is complemented, it can be
connected directly to an input of the second level NAND gate.
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Multilevel NAND Circuits
F = A(CD + B) + BC
Figure:
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
The general procedure for converting a multilevel ANDOR diagram
into an all-NAND diagram using mixed notation is as follows:
1 Convert all AND gates to NAND gates with AND-invert
graphic symbols.
2 Convert all OR gates to NAND gates with invert-OR graphic
symbols.
3 Check all the bubbles in the diagram. For every bubble that is
not compensated by another small circle along the same line,
insert an inverter (a one-input NAND gate) or complement
the input literal.
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Ex: F = (AB + A B)(C + D )
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Implement the following Boolean function with NAND gates:
F(x, y, z) = (1, 2, 3, 4, 5, 7)
Figure: Solution
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
NOR Implementation
The NOR gate is another universal gate that can be used to
implement any Boolean function.
Figure: Logic operations with NOR gates
D.R.V.L.B Thambawita Gate-Level Minimization
NAND AND NOR IMPLEMENTATION
Two graphic symbols for the NOR gate
D.R.V.L.B Thambawita Gate-Level Minimization

More Related Content

PPT
BOOLEAN ALGEBRA
PPTX
Chapter 2: Boolean Algebra and Logic Gates
PPT
Boolean algebra And Logic Gates
PPTX
NAND and NOR implementation and Other two level implementation
PPT
Digital logic gates and Boolean algebra
PPTX
presentation on (Boolean rules & laws)
PPTX
Logic simplification sop and pos forms
PPT
KARNAUGH MAP(K-MAP)
BOOLEAN ALGEBRA
Chapter 2: Boolean Algebra and Logic Gates
Boolean algebra And Logic Gates
NAND and NOR implementation and Other two level implementation
Digital logic gates and Boolean algebra
presentation on (Boolean rules & laws)
Logic simplification sop and pos forms
KARNAUGH MAP(K-MAP)

What's hot (20)

PPT
encoder and decoder in digital electronics
PPTX
sequential circuits
PPT
boolean algebra and logic simplification
PPT
adder and subtractor
PPT
Sequential Logic Circuit
PPTX
Chapter 4: Combinational Logic
PPT
basic logic gates
PPT
carry look ahead adder
PPTX
Sequential circuit design
PDF
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
PDF
Chapter 06 boolean algebra
PPTX
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
PPTX
Ring Counter.pptx
PPT
multiplexers and demultiplexers
PDF
Sequential circuits in Digital Electronics
PPTX
Carry look ahead adder
PPTX
Combinational circuits
PDF
PPTX
latches
PPTX
encoder and decoder in digital electronics
sequential circuits
boolean algebra and logic simplification
adder and subtractor
Sequential Logic Circuit
Chapter 4: Combinational Logic
basic logic gates
carry look ahead adder
Sequential circuit design
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Chapter 06 boolean algebra
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
Ring Counter.pptx
multiplexers and demultiplexers
Sequential circuits in Digital Electronics
Carry look ahead adder
Combinational circuits
latches
Ad

Similar to Lec 04 - Gate-level Minimization (20)

PPT
Chapter_3_Gate-Level_Minimization.ppt
PPTX
Chapter-3.pptx
PPT
Chapter 3 2
PPT
DLD BOOLEAN EXPRESSIONS
PDF
K-map Digital Logic Design DLD Theory l
PPTX
CSE-205_ch-3.pptx
PPTX
Digital electronics basic overview .pptx
DOC
شيت دمحمددسوقى
PPTX
UNIT1-part2.pptx
PDF
Basic Boolean Algebra and DeMorgan's Laws
PPTX
Chapter Data Representation DIGITAL LOGIC CIRCUITS
PDF
B sc ii sem unit 2(b) ba
PDF
Digital logic circuits
PPTX
UNIT1-part2.pptx
PPTX
Boolean Algebra by SUKHDEEP SINGH
PPT
Minimization Technique .ppt
PPTX
DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx
PPTX
Boolean algebra
PPTX
WEEK 4- DLD-GateLvelMinimization.pptx
PPTX
Chapter 3: Simplification of Boolean Function
Chapter_3_Gate-Level_Minimization.ppt
Chapter-3.pptx
Chapter 3 2
DLD BOOLEAN EXPRESSIONS
K-map Digital Logic Design DLD Theory l
CSE-205_ch-3.pptx
Digital electronics basic overview .pptx
شيت دمحمددسوقى
UNIT1-part2.pptx
Basic Boolean Algebra and DeMorgan's Laws
Chapter Data Representation DIGITAL LOGIC CIRCUITS
B sc ii sem unit 2(b) ba
Digital logic circuits
UNIT1-part2.pptx
Boolean Algebra by SUKHDEEP SINGH
Minimization Technique .ppt
DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx
Boolean algebra
WEEK 4- DLD-GateLvelMinimization.pptx
Chapter 3: Simplification of Boolean Function
Ad

More from Vajira Thambawita (20)

PDF
Lecture 4 principles of parallel algorithm design updated
PDF
Lecture 3 parallel programming platforms
PDF
Lecture 2 more about parallel computing
PDF
Lecture 1 introduction to parallel and distributed computing
PDF
Lecture 12 localization and navigation
PDF
Lecture 11 neural network principles
PDF
Lecture 10 mobile robot design
PDF
Lecture 09 control
PDF
Lecture 08 robots and controllers
PDF
Lecture 07 more about pic
PDF
Lecture 06 pic programming in c
PDF
Lecture 05 pic io port programming
PDF
Lecture 04 branch call and time delay
PDF
Lecture 03 basics of pic
PDF
Lecture 02 mechatronics systems
PDF
Lecture 1 - Introduction to embedded system and Robotics
PDF
Lec 09 - Registers and Counters
PDF
Lec 08 - DESIGN PROCEDURE
PDF
Lec 06 - Synchronous Sequential Logic
PDF
Lec 05 - Combinational Logic
Lecture 4 principles of parallel algorithm design updated
Lecture 3 parallel programming platforms
Lecture 2 more about parallel computing
Lecture 1 introduction to parallel and distributed computing
Lecture 12 localization and navigation
Lecture 11 neural network principles
Lecture 10 mobile robot design
Lecture 09 control
Lecture 08 robots and controllers
Lecture 07 more about pic
Lecture 06 pic programming in c
Lecture 05 pic io port programming
Lecture 04 branch call and time delay
Lecture 03 basics of pic
Lecture 02 mechatronics systems
Lecture 1 - Introduction to embedded system and Robotics
Lec 09 - Registers and Counters
Lec 08 - DESIGN PROCEDURE
Lec 06 - Synchronous Sequential Logic
Lec 05 - Combinational Logic

Recently uploaded (20)

PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Institutional Correction lecture only . . .
PPTX
master seminar digital applications in india
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Cell Structure & Organelles in detailed.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Pre independence Education in Inndia.pdf
Renaissance Architecture: A Journey from Faith to Humanism
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial disease of the cardiovascular and lymphatic systems
Institutional Correction lecture only . . .
master seminar digital applications in india
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Cell Structure & Organelles in detailed.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Basic Mud Logging Guide for educational purpose
Pre independence Education in Inndia.pdf

Lec 04 - Gate-level Minimization

  • 1. Gate-Level Minimization D.R.V.L.B Thambawita August 27, 2017 D.R.V.L.B Thambawita Gate-Level Minimization
  • 2. THE MAP METHOD The map method is also known as the Karnaugh mapor K-map A K-map is a diagram made up of squares, with each square representing one minterm of the function that is to be minimized The simplified expressions produced by the map are always in one of the two standard forms: sum of products or product of sums D.R.V.L.B Thambawita Gate-Level Minimization
  • 3. THE MAP METHOD Figure: Two-variable K-map D.R.V.L.B Thambawita Gate-Level Minimization
  • 4. THE MAP METHOD Figure: Representation of functions in the map D.R.V.L.B Thambawita Gate-Level Minimization
  • 5. THE MAP METHOD Three-Variable K-Map There are eight minterms for three binary variables; therefore, the map consists of eight squares Only one bit changes in value from one adjacent column to the next Figure: Three-variable K-map D.R.V.L.B Thambawita Gate-Level Minimization
  • 6. THE MAP METHOD Simplify the Boolean function F(x, y, z) = Σ(2, 3, 4, 5) F(x, y, z) = Σ(3, 4, 6, 7) F(x, y, z) = Σ(0, 2, 4, 5, 6) D.R.V.L.B Thambawita Gate-Level Minimization
  • 7. THE MAP METHOD Figure: F(x, y, z) = Σ(2, 3, 4, 5) = x y + xy D.R.V.L.B Thambawita Gate-Level Minimization
  • 8. THE MAP METHOD Figure: F(x, y, z) = Σ(3, 4, 6, 7) = yz + xz D.R.V.L.B Thambawita Gate-Level Minimization
  • 9. THE MAP METHOD Figure: F(x, y, z) = Σ(0, 2, 4, 5, 6) = z + xy D.R.V.L.B Thambawita Gate-Level Minimization
  • 10. THE MAP METHOD Figure: Four-variable map D.R.V.L.B Thambawita Gate-Level Minimization
  • 11. THE MAP METHOD Simplify the Boolean function F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) F = A B C + B CD + A BCD + AB C D.R.V.L.B Thambawita Gate-Level Minimization
  • 12. THE MAP METHOD Figure: F(w, x, y, z) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 12, 13, 14) = y + w z + xz D.R.V.L.B Thambawita Gate-Level Minimization
  • 13. THE MAP METHOD Figure: A B C + B CD + A BCD + AB C = B D + B C + A CD D.R.V.L.B Thambawita Gate-Level Minimization
  • 14. Prime Implicants A prime implicant is a product term obtained by combining the maximum possible number of adjacent squares in the map If a minterm in a square is covered by only one prime implicant, that prime implicant is said to be essential The prime implicants of a function can be obtained from the map by combining all possible maximum numbers of squares Ex: F(A, B, C, D) = Σ(0, 2, 3, 5, 7, 8, 9, 10, 11, 13, 15) D.R.V.L.B Thambawita Gate-Level Minimization
  • 15. Prime Implicants Figure: Simplification using prime implicants D.R.V.L.B Thambawita Gate-Level Minimization
  • 16. Prime Implicants The simplified expression is obtained from the logical sum of the two essential prime implicants and any two prime implicants that cover minterms m3, m9, and m11. D.R.V.L.B Thambawita Gate-Level Minimization
  • 17. PRODUCT-OF-SUMS SIMPLIFICATION Simplify the Boolean function: F(A, B, C, D) = Σ(0, 1, 2, 5, 8, 9, 10) into 1 sum-of-products form 2 product-of-sums form D.R.V.L.B Thambawita Gate-Level Minimization
  • 18. PRODUCT-OF-SUMS SIMPLIFICATION Combining the squares with 1’s gives the simplified function in sum-of-products form: F = B D + B C + A C D If the squares marked with 0’s are combined, as shown in the diagram, we obtain the simplified complemented function: F = AB + CD + BD Applying DeMorgan’s theorem F=(A’ +B’) (C’ +D’) (B’ +D) D.R.V.L.B Thambawita Gate-Level Minimization
  • 19. DONT-CARE CONDITIONS Functions that have unspecified outputs for some input combinations are called incompletely specified functions In most applications, we simply don’t care what value is assumed by the function for the unspecified minterms For this reason, it is customary to call the unspecified minterms of a function don’t-care conditions Simplify the Boolean function F(w, x, y, z) = Σ(1, 3, 7, 11, 15) Which has the dont-care conditions d(w, x, y, z) = Σ(0, 2, 5) D.R.V.L.B Thambawita Gate-Level Minimization
  • 21. NAND AND NOR IMPLEMENTATION Digital circuits are frequently constructed with NAND or NOR gates rather than with AND and OR gates. NAND and NOR gates are easier to fabricate with electronic components and are the basic gates used in all IC digital logic families NAND Circuits The NAND gate is said to be a universal gate because any logic circuit can be implemented with it A convenient way to implement a Boolean function with NAND gates is to obtain the simplified Boolean function in terms of Boolean operators and then convert the function to NAND logic D.R.V.L.B Thambawita Gate-Level Minimization
  • 22. NAND AND NOR IMPLEMENTATION Figure: Logic operations with NAND gates D.R.V.L.B Thambawita Gate-Level Minimization
  • 23. NAND AND NOR IMPLEMENTATION Figure: Two graphic symbols for a three-input NAND gate Implement the following Boolean function with NAND gates: F = AB + CD D.R.V.L.B Thambawita Gate-Level Minimization
  • 24. NAND AND NOR IMPLEMENTATION The implementation of Boolean functions with NAND gates requires that the functions be in sum-of-products form. Figure: Three ways to implement F = AB + CD D.R.V.L.B Thambawita Gate-Level Minimization
  • 25. NAND AND NOR IMPLEMENTATION The procedure for obtaining the logic diagram from a Boolean function is as follows: 1 Simplify the function and express it in sum-of-products form. 2 Draw a NAND gate for each product term of the expression that has at least two literals. The inputs to each NAND gate are the literals of the term. This procedure produces a group of first-level gates. 3 Draw a single gate using the AND-invert or the invert-OR graphic symbol in the second level, with inputs coming from outputs of first-level gates. 4 A term with a single literal requires an inverter in the first level. However, if the single literal is complemented, it can be connected directly to an input of the second level NAND gate. D.R.V.L.B Thambawita Gate-Level Minimization
  • 26. NAND AND NOR IMPLEMENTATION Multilevel NAND Circuits F = A(CD + B) + BC Figure: D.R.V.L.B Thambawita Gate-Level Minimization
  • 27. NAND AND NOR IMPLEMENTATION The general procedure for converting a multilevel ANDOR diagram into an all-NAND diagram using mixed notation is as follows: 1 Convert all AND gates to NAND gates with AND-invert graphic symbols. 2 Convert all OR gates to NAND gates with invert-OR graphic symbols. 3 Check all the bubbles in the diagram. For every bubble that is not compensated by another small circle along the same line, insert an inverter (a one-input NAND gate) or complement the input literal. D.R.V.L.B Thambawita Gate-Level Minimization
  • 28. NAND AND NOR IMPLEMENTATION Ex: F = (AB + A B)(C + D ) D.R.V.L.B Thambawita Gate-Level Minimization
  • 29. NAND AND NOR IMPLEMENTATION Implement the following Boolean function with NAND gates: F(x, y, z) = (1, 2, 3, 4, 5, 7) Figure: Solution D.R.V.L.B Thambawita Gate-Level Minimization
  • 30. NAND AND NOR IMPLEMENTATION NOR Implementation The NOR gate is another universal gate that can be used to implement any Boolean function. Figure: Logic operations with NOR gates D.R.V.L.B Thambawita Gate-Level Minimization
  • 31. NAND AND NOR IMPLEMENTATION Two graphic symbols for the NOR gate D.R.V.L.B Thambawita Gate-Level Minimization