SlideShare a Scribd company logo
1 of 31
Download to read offline
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 simpliļ¬ed 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: Simpliļ¬cation using prime implicants
D.R.V.L.B Thambawita Gate-Level Minimization
Prime Implicants
The simpliļ¬ed 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 simpliļ¬ed 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 simpliļ¬ed 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 unspeciļ¬ed outputs for some input
combinations are called incompletely speciļ¬ed functions
In most applications, we simply donā€™t care what value is
assumed by the function for the unspeciļ¬ed minterms
For this reason, it is customary to call the unspeciļ¬ed
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 simpliļ¬ed 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 ļ¬rst-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 ļ¬rst-level gates.
4 A term with a single literal requires an inverter in the ļ¬rst
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

What's hot

Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)Zain Jafri
Ā 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
Ā 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorPreet_patel
Ā 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
Ā 
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flopShubham Singh
Ā 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & DecoderSyed Saeed
Ā 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE Tamim Tanvir
Ā 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuitsParesh Parmar
Ā 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
Ā 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSelf-employed
Ā 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoderUnsa Shakir
Ā 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
Ā 
Presentation on Karnaugh Map
Presentation  on Karnaugh MapPresentation  on Karnaugh Map
Presentation on Karnaugh MapKawsar Ahmed
Ā 
carry look ahead adder
carry look ahead addercarry look ahead adder
carry look ahead adderASHISH MANI
Ā 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and SubtractorJaimin@prt.ltd.
Ā 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
Ā 

What's hot (20)

Kmap..(karnaugh map)
Kmap..(karnaugh map)Kmap..(karnaugh map)
Kmap..(karnaugh map)
Ā 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
Ā 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
Ā 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
Ā 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
Ā 
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flop
Ā 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
Ā 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
Ā 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
Ā 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
Ā 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
Ā 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Ā 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
Ā 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
Ā 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
Ā 
Presentation on Karnaugh Map
Presentation  on Karnaugh MapPresentation  on Karnaugh Map
Presentation on Karnaugh Map
Ā 
carry look ahead adder
carry look ahead addercarry look ahead adder
carry look ahead adder
Ā 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
Ā 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
Ā 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
Ā 

Similar to Lec 04 - Gate-level Minimization

DLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONSDLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONSnaresh414857
Ā 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptxHirazNor
Ā 
Lec 05 - Combinational Logic
Lec 05 - Combinational LogicLec 05 - Combinational Logic
Lec 05 - Combinational LogicVajira Thambawita
Ā 
Nand or gates ver_student
Nand or gates ver_studentNand or gates ver_student
Nand or gates ver_studentWanNurdiana
Ā 
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...ijcisjournal
Ā 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...VLSICS Design
Ā 
IAP PPT-1.pptx
IAP PPT-1.pptxIAP PPT-1.pptx
IAP PPT-1.pptxHirazNor
Ā 
Digitally Programmable Grounded Impedance Multiplier
Digitally Programmable Grounded Impedance MultiplierDigitally Programmable Grounded Impedance Multiplier
Digitally Programmable Grounded Impedance MultiplierIJERD Editor
Ā 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...ijceronline
Ā 
Digitally Programmable Versatile Grounded Multiplier Using CCII
Digitally Programmable Versatile Grounded Multiplier Using CCIIDigitally Programmable Versatile Grounded Multiplier Using CCII
Digitally Programmable Versatile Grounded Multiplier Using CCIIIJERDJOURNAL
Ā 
Interconnection mechanisms
Interconnection mechanismsInterconnection mechanisms
Interconnection mechanismsSyed Zaid Irshad
Ā 
Boolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGHBoolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGHSukhdeep Bisht
Ā 
Lesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxLesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxBkannan2
Ā 
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...Implementation of Energy Efficient Scalar Point Multiplication Techniques for...
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...idescitation
Ā 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuitsaravana kumaar
Ā 
Lect2 up350 (100328)
Lect2 up350 (100328)Lect2 up350 (100328)
Lect2 up350 (100328)aicdesign
Ā 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
Ā 

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

DLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONSDLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONS
Ā 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptx
Ā 
Lec 05 - Combinational Logic
Lec 05 - Combinational LogicLec 05 - Combinational Logic
Lec 05 - Combinational Logic
Ā 
Nand or gates ver_student
Nand or gates ver_studentNand or gates ver_student
Nand or gates ver_student
Ā 
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Ā 
A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...A digital calibration algorithm with variable amplitude dithering for domain-...
A digital calibration algorithm with variable amplitude dithering for domain-...
Ā 
3BITFLASHADC
3BITFLASHADC3BITFLASHADC
3BITFLASHADC
Ā 
12.Digital Logic.pdf
12.Digital Logic.pdf12.Digital Logic.pdf
12.Digital Logic.pdf
Ā 
IAP PPT-1.pptx
IAP PPT-1.pptxIAP PPT-1.pptx
IAP PPT-1.pptx
Ā 
Digitally Programmable Grounded Impedance Multiplier
Digitally Programmable Grounded Impedance MultiplierDigitally Programmable Grounded Impedance Multiplier
Digitally Programmable Grounded Impedance Multiplier
Ā 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Ā 
Digitally Programmable Versatile Grounded Multiplier Using CCII
Digitally Programmable Versatile Grounded Multiplier Using CCIIDigitally Programmable Versatile Grounded Multiplier Using CCII
Digitally Programmable Versatile Grounded Multiplier Using CCII
Ā 
5. Arithmaticn combinational Ckt.ppt
5. Arithmaticn combinational Ckt.ppt5. Arithmaticn combinational Ckt.ppt
5. Arithmaticn combinational Ckt.ppt
Ā 
Interconnection mechanisms
Interconnection mechanismsInterconnection mechanisms
Interconnection mechanisms
Ā 
Boolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGHBoolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGH
Ā 
Lesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxLesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsx
Ā 
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...Implementation of Energy Efficient Scalar Point Multiplication Techniques for...
Implementation of Energy Efficient Scalar Point Multiplication Techniques for...
Ā 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
Ā 
Lect2 up350 (100328)
Lect2 up350 (100328)Lect2 up350 (100328)
Lect2 up350 (100328)
Ā 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
Ā 

More from Vajira Thambawita

Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updatedVajira Thambawita
Ā 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platformsVajira Thambawita
Ā 
Lecture 2 more about parallel computing
Lecture 2   more about parallel computingLecture 2   more about parallel computing
Lecture 2 more about parallel computingVajira Thambawita
Ā 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computingVajira Thambawita
Ā 
Lecture 12 localization and navigation
Lecture 12 localization and navigationLecture 12 localization and navigation
Lecture 12 localization and navigationVajira Thambawita
Ā 
Lecture 11 neural network principles
Lecture 11 neural network principlesLecture 11 neural network principles
Lecture 11 neural network principlesVajira Thambawita
Ā 
Lecture 10 mobile robot design
Lecture 10 mobile robot designLecture 10 mobile robot design
Lecture 10 mobile robot designVajira Thambawita
Ā 
Lecture 08 robots and controllers
Lecture 08 robots and controllersLecture 08 robots and controllers
Lecture 08 robots and controllersVajira Thambawita
Ā 
Lecture 07 more about pic
Lecture 07 more about picLecture 07 more about pic
Lecture 07 more about picVajira Thambawita
Ā 
Lecture 06 pic programming in c
Lecture 06 pic programming in cLecture 06 pic programming in c
Lecture 06 pic programming in cVajira Thambawita
Ā 
Lecture 05 pic io port programming
Lecture 05 pic io port programmingLecture 05 pic io port programming
Lecture 05 pic io port programmingVajira Thambawita
Ā 
Lecture 04 branch call and time delay
Lecture 04  branch call and time delayLecture 04  branch call and time delay
Lecture 04 branch call and time delayVajira Thambawita
Ā 
Lecture 03 basics of pic
Lecture 03 basics of picLecture 03 basics of pic
Lecture 03 basics of picVajira Thambawita
Ā 
Lecture 02 mechatronics systems
Lecture 02 mechatronics systemsLecture 02 mechatronics systems
Lecture 02 mechatronics systemsVajira Thambawita
Ā 
Lecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsLecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsVajira Thambawita
Ā 
Lec 09 - Registers and Counters
Lec 09 - Registers and CountersLec 09 - Registers and Counters
Lec 09 - Registers and CountersVajira Thambawita
Ā 
Lec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDURELec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDUREVajira Thambawita
Ā 
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITSLec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITSVajira Thambawita
Ā 
Lec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential LogicLec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential LogicVajira Thambawita
Ā 

More from Vajira Thambawita (20)

Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updated
Ā 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platforms
Ā 
Lecture 2 more about parallel computing
Lecture 2   more about parallel computingLecture 2   more about parallel computing
Lecture 2 more about parallel computing
Ā 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
Ā 
Lecture 12 localization and navigation
Lecture 12 localization and navigationLecture 12 localization and navigation
Lecture 12 localization and navigation
Ā 
Lecture 11 neural network principles
Lecture 11 neural network principlesLecture 11 neural network principles
Lecture 11 neural network principles
Ā 
Lecture 10 mobile robot design
Lecture 10 mobile robot designLecture 10 mobile robot design
Lecture 10 mobile robot design
Ā 
Lecture 09 control
Lecture 09 controlLecture 09 control
Lecture 09 control
Ā 
Lecture 08 robots and controllers
Lecture 08 robots and controllersLecture 08 robots and controllers
Lecture 08 robots and controllers
Ā 
Lecture 07 more about pic
Lecture 07 more about picLecture 07 more about pic
Lecture 07 more about pic
Ā 
Lecture 06 pic programming in c
Lecture 06 pic programming in cLecture 06 pic programming in c
Lecture 06 pic programming in c
Ā 
Lecture 05 pic io port programming
Lecture 05 pic io port programmingLecture 05 pic io port programming
Lecture 05 pic io port programming
Ā 
Lecture 04 branch call and time delay
Lecture 04  branch call and time delayLecture 04  branch call and time delay
Lecture 04 branch call and time delay
Ā 
Lecture 03 basics of pic
Lecture 03 basics of picLecture 03 basics of pic
Lecture 03 basics of pic
Ā 
Lecture 02 mechatronics systems
Lecture 02 mechatronics systemsLecture 02 mechatronics systems
Lecture 02 mechatronics systems
Ā 
Lecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and RoboticsLecture 1 - Introduction to embedded system and Robotics
Lecture 1 - Introduction to embedded system and Robotics
Ā 
Lec 09 - Registers and Counters
Lec 09 - Registers and CountersLec 09 - Registers and Counters
Lec 09 - Registers and Counters
Ā 
Lec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDURELec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDURE
Ā 
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITSLec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Ā 
Lec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential LogicLec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential Logic
Ā 

Recently uploaded

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
Ā 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
Ā 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
Ā 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
Ā 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
Ā 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
Ā 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
Ā 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
Ā 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
Ā 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)Dr. Mazin Mohamed alkathiri
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
Ā 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
Ā 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Ā 

Recently uploaded (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Ā 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
Ā 
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
Ā 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
Ā 
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
Ā 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
Ā 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
Ā 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
Ā 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
Ā 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Ā 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
Ā 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Ā 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Ā 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Ā 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Ā 

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 simpliļ¬ed 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: Simpliļ¬cation using prime implicants D.R.V.L.B Thambawita Gate-Level Minimization
  • 16. Prime Implicants The simpliļ¬ed 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 simpliļ¬ed 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 simpliļ¬ed 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 unspeciļ¬ed outputs for some input combinations are called incompletely speciļ¬ed functions In most applications, we simply donā€™t care what value is assumed by the function for the unspeciļ¬ed minterms For this reason, it is customary to call the unspeciļ¬ed 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 simpliļ¬ed 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 ļ¬rst-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 ļ¬rst-level gates. 4 A term with a single literal requires an inverter in the ļ¬rst 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