SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
Department of Communication Engineering, NCTU 1
Unit 7 Multi-Level Gate Circuits/
NAND and NOR Gates
Department of Communication Engineering, NCTU 2
7.1 Multi-Level Gate Circuits
Department of Communication Engineering, NCTU 3
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 The maximum number of gates cascaded in series
between a circuit input and the output is referred to as the
number of levels of gates
 ANR-OR circuit  A level of AND gates followed by a
OR at the output
 OR-AND circuit  A level of OR gates followed by a
AND at the output
 OR-AND-OR circuit  A level of OR gates followed by a
level of AND gates followed by
OR gate at the output
 A function written in SOP form or in POS form
corresponds to a two-level gate circuit
 Inverters which are connected directly to input variables
will not be counted when determining the # of levels
Department of Communication Engineering, NCTU 4
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Example: A four-level realization with 6 gates and 13
gate inputs
Department of Communication Engineering, NCTU 5
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Another realization of 3 levels of gates. There are six
gates and 19 gate inputs in total
Department of Communication Engineering, NCTU 6
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Example: Find a circuit of AND and OR gates to realize
 By Karnaugh map, f = a’c’d + bc’d + bcd’+ acd’(7-1)
( , , , ) (1,5,6,10,13,14)f a b c d m
Department of Communication Engineering, NCTU 7
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Factoring (7-1) yields f=c'd(a'+b)+cd'(a+b) (7-2)
 Both realizations use 5 gates, but the later one has fewer
inputs with on more level of gate delays
Department of Communication Engineering, NCTU 8
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 An alternative realization in POS form: obtained from the
0’s on the Karnaugh map
f'=c'd'+ab'c'+cd+a'b'c (7-3)
f=(c+d)(a'+b+c)(c'+d')(a+b+c') (7-4)
Department of Communication Engineering, NCTU 9
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Partially multiplying out (7-4) using (X+Y)(X+Z)=X+YZ :
f =[c+d(a'+b)][c'+d'(a+b)] (7-5)
=(c+a'd+bd)(c'+ad'+bd') (7-6)
 Eq. (7-6) leads to a 3-level AND-OR-AND circuit
Department of Communication Engineering, NCTU 10
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Summaries:
 If an expression for f’has n-levels, the complement of that
expression is an n-level expression of f
 To realize f as an n-level circuit with an AND-gate output,
one procedure is to find an n-level expression for f’with an
OR operation at the output and then complement the
expression for f’
Department of Communication Engineering, NCTU 11
7.2 NAND and NOR Gates
Department of Communication Engineering, NCTU 12
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 NAND and NOR gates are frequently used because they
are generally faster and use fewer components than AND
or OR gates
 Any logic function can be implemented using only
NAND or only NOR gates
 An n-input NAND gate is
1 2 1 2( )n nF X X X X X X      
Department of Communication Engineering, NCTU 13
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Similarly, an n-input NOR gate is
 A set of function is said to be functionally complete if any
Boolean function can be expressed in terms of this set of
operations, e.g. AND, OR and NOT
 Any set of logic gates which can realize AND, OR, and
NOT is also functionally complete
1 2 1 2( )n nF X X X X X X        
Department of Communication Engineering, NCTU 14
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 E.g. AND and NOT form a functionally complete set of
gates, since
 NAND is also functionally complete
Department of Communication Engineering, NCTU 15
7.3 Design of Two-Level Circuits
Using NAND and NOR Gates
Department of Communication Engineering, NCTU 16
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 A two-level circuit composed of AND and OR gates is
easily converted to a circuit composed of NAND gates or
NOR gates. E.g. converting from a minimum SOP
 (7-13):AND-OR
(7-14):NAND-NAND
(7-15):OR-NAND
(7-16):NOR-OR
Department of Communication Engineering, NCTU 17
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
Department of Communication Engineering, NCTU 18
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Obtaining a two-level circuit containing only NOR gates
should start with the minimum POS for F, instead of SOP
 E.g.
 (7-18):OR-AND
(7-19):NOR-NOR
(7-20):AND-NOR
(7-21):NAND-AND
Department of Communication Engineering, NCTU 19
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
Department of Communication Engineering, NCTU 20
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Two of the most commonly used circuits are the NAND-
NAND and the NOR-NOR
 Procedure for designing a min 2-level NAND-NAND
circuit
 Find a minimum SOP for F
 Draw the corresponding two-level AND-OR circuit
 Replacing all gates with NAND gates
Department of Communication Engineering, NCTU 21
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Procedure for designing a min 2-level NOR-NOR circuit
 Find a minimum POS for F
 Draw the corresponding two-level OR-AND circuit
 Replace all gates with NOR gates
Department of Communication Engineering, NCTU 22
7.4 Design of Multi-Level NAND-
and NOR-Gate Circuits
Department of Communication Engineering, NCTU 23
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 The following procedure may be used to design multi-
level NAND-gate circuits
 Simplify the switching function to be realized
 Design a multi-level circuit of AND and OR gates.
 The output gate must be a OR gate
 AND-gate outputs cannot be used as AND-gate inputs; OR-
gate outputs cannot be used as OR-gates inputs
 Replace all gates with NAND gates
 The procedure for the design of multi-level NOR-gate
circuits is exactly the same as for NAND-gate circuits
except that the output gate of the circuit must be an AND
gate, and all gates are replaced with NOR gates
Department of Communication Engineering, NCTU 24
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
Department of Communication Engineering, NCTU 25
7.5 Circuit Conversion Using
Alternative Gate Symbols
Department of Communication Engineering, NCTU 26
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Alternative representations for an inverter
 Alternative representations for AND, OR, NAND and
NOR gates
Department of Communication Engineering, NCTU 27
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
Department of Communication Engineering, NCTU 28
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 The procedure for converting AND-OR circuit to a
NAND or NOR circuit
 Convert all AND gates to NAND gates by adding an
inversion bubble at the output
 Convert all OR gates to NAND gates by adding inversion
bubbles at the inputs
 Whenever an inverted output drives an inverted input, these
two inversions cancel
 Whenever a noninverted gate output drives an inverted gate
input or vice versa, insert an inverter so that the bubble will
cancel
Department of Communication Engineering, NCTU 29
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
Department of Communication Engineering, NCTU 30
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Example
Department of Communication Engineering, NCTU 31
7.6 Design of Two-Level, Multiple-
Output Circuits
Department of Communication Engineering, NCTU 32
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Solution of digital design problems often requires the
realization of several functions of the same variables. The
use of some gates in common between two or more
functions sometimes leads to a more economical circuit
 E.g. we have
Department of Communication Engineering, NCTU 33
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 The individual realizations to them are
Department of Communication Engineering, NCTU 34
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Observe that the term ACD is necessary for the
realization of F1 and that A’CD is necessary for F3. If
replacing CD in F2 by A’CD + ACD, the realization of
CD is unnecessary
Department of Communication Engineering, NCTU 35
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 In realizing multiple-output circuits, the use of a
minimum sum of prime implicants for each function does
not necessarily lead to a minimum cost solution
 When designing multiple-output circuits, try to minimum
the total number of gates required
 E.g.
1
2
3
(2,3,5,7,8,9,10,11,13,15)
(2,3,5,6,7,10,11,14,15)
(6,7,8,9,13,14,15)
f m
f m
f m






Department of Communication Engineering, NCTU 36
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 The corresponding Karnaugh maps are
Department of Communication Engineering, NCTU 37
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 By inspection, we can see that
 a’bd from f2, abd from f3 and ab’c’from f3 can be used in f1.
Replacing bd with a’bd + abd, the gate needed to realize bd
can be eliminated.
 m10 and m11 in f1 are already covered by b’c, and ab’c’from
f3 can be used to cover m8 and m9, thus ab’being eliminated
 The minimum solution is therefore
Department of Communication Engineering, NCTU 38
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Determination of essential prime implicants for multiple-
output realization
 The prime implicants essential to an individual function
may not be essential to the multiple-output realization
 bd is an essential prime implicant of f1 but not of all f’s
Department of Communication Engineering, NCTU 39
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 When searching for a prime implicant to an multiple-output
realization,
 Check each 1 which do not appear on the other function maps
 Example 1
 c’d is essential to f1, bd’is essential to f2
 abd is not essential since it appears on both maps
Department of Communication Engineering, NCTU 40
Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
 Example 2
 a’d’and a’bc’are essential to f1
 bd’and a’b’c are essential to f2

Weitere ähnliche Inhalte

Was ist angesagt?

NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementationMuhammad Akhtar
 
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Hsien-Hsin Sean Lee, Ph.D.
 
Logic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay GiriLogic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay Girinimay1
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinationalDefri Tan
 
Digital Logic Gates and RAID Explained v1.3
Digital Logic Gates and RAID Explained v1.3Digital Logic Gates and RAID Explained v1.3
Digital Logic Gates and RAID Explained v1.3Howard Wong
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gatesana younas
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
 
Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliDipayan Sarkar
 
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...Hsien-Hsin Sean Lee, Ph.D.
 
The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuitroni Febriandi
 

Was ist angesagt? (20)

Chap 3
Chap 3Chap 3
Chap 3
 
NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementation
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic not gate tutorial with logic gate truth table
Logic not gate tutorial with logic gate truth tableLogic not gate tutorial with logic gate truth table
Logic not gate tutorial with logic gate truth table
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...
 
Logic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay GiriLogic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay Giri
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Logic gates 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinational
 
Digital Logic Gates and RAID Explained v1.3
Digital Logic Gates and RAID Explained v1.3Digital Logic Gates and RAID Explained v1.3
Digital Logic Gates and RAID Explained v1.3
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gate
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
 
Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N Ali
 
LOGIC GATES
LOGIC GATESLOGIC GATES
LOGIC GATES
 
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
 
The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuit
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 

Ähnlich wie Unit 07

Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologySai Viswanath
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) inventionjournals
 
Transistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsTransistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsVLSICS Design
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdfArrowdeepak
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...VLSICS Design
 
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATESOPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATESVLSICS Design
 
Design of all digital phase locked loop (d pll) with fast acquisition time
Design of all digital phase locked loop (d pll) with fast acquisition timeDesign of all digital phase locked loop (d pll) with fast acquisition time
Design of all digital phase locked loop (d pll) with fast acquisition timeeSAT Journals
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...VIT-AP University
 
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power ApplicationsCost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power ApplicationsVIT-AP University
 

Ähnlich wie Unit 07 (20)

Cse
CseCse
Cse
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
VLSI & E-CAD Lab Manual
VLSI & E-CAD Lab ManualVLSI & E-CAD Lab Manual
VLSI & E-CAD Lab Manual
 
Implementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron TechnologyImplementation of Reversable Logic Based Design using Submicron Technology
Implementation of Reversable Logic Based Design using Submicron Technology
 
e CAD lab manual
e CAD lab manuale CAD lab manual
e CAD lab manual
 
C046051216
C046051216C046051216
C046051216
 
12.Digital Logic.pdf
12.Digital Logic.pdf12.Digital Logic.pdf
12.Digital Logic.pdf
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
A04220106
A04220106A04220106
A04220106
 
Transistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsTransistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuits
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
 
DIGITAL ELECTRONICS LAB
DIGITAL ELECTRONICS LABDIGITAL ELECTRONICS LAB
DIGITAL ELECTRONICS LAB
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATESOPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
 
Design of all digital phase locked loop (d pll) with fast acquisition time
Design of all digital phase locked loop (d pll) with fast acquisition timeDesign of all digital phase locked loop (d pll) with fast acquisition time
Design of all digital phase locked loop (d pll) with fast acquisition time
 
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
EVOLUTION OF STRUCTURE OF SOME BINARY GROUP-BASED N-BIT COMPARATOR, N-TO-2N D...
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
9077262.ppt
9077262.ppt9077262.ppt
9077262.ppt
 
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power ApplicationsCost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
 

Mehr von Partha_bappa

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary MedicinePartha_bappa
 
Digital Communication
Digital CommunicationDigital Communication
Digital CommunicationPartha_bappa
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementalsPartha_bappa
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answerPartha_bappa
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)Partha_bappa
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)Partha_bappa
 

Mehr von Partha_bappa (13)

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary Medicine
 
Unit 04
Unit 04Unit 04
Unit 04
 
Unit 03
Unit 03Unit 03
Unit 03
 
Unit 02
Unit 02Unit 02
Unit 02
 
Logic Design
Logic DesignLogic Design
Logic Design
 
Digital Communication
Digital CommunicationDigital Communication
Digital Communication
 
Media Literacy
Media LiteracyMedia Literacy
Media Literacy
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementals
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answer
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
 

Kürzlich hochgeladen

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Kürzlich hochgeladen (20)

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Unit 07

  • 1. Department of Communication Engineering, NCTU 1 Unit 7 Multi-Level Gate Circuits/ NAND and NOR Gates
  • 2. Department of Communication Engineering, NCTU 2 7.1 Multi-Level Gate Circuits
  • 3. Department of Communication Engineering, NCTU 3 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  The maximum number of gates cascaded in series between a circuit input and the output is referred to as the number of levels of gates  ANR-OR circuit  A level of AND gates followed by a OR at the output  OR-AND circuit  A level of OR gates followed by a AND at the output  OR-AND-OR circuit  A level of OR gates followed by a level of AND gates followed by OR gate at the output  A function written in SOP form or in POS form corresponds to a two-level gate circuit  Inverters which are connected directly to input variables will not be counted when determining the # of levels
  • 4. Department of Communication Engineering, NCTU 4 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Example: A four-level realization with 6 gates and 13 gate inputs
  • 5. Department of Communication Engineering, NCTU 5 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Another realization of 3 levels of gates. There are six gates and 19 gate inputs in total
  • 6. Department of Communication Engineering, NCTU 6 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Example: Find a circuit of AND and OR gates to realize  By Karnaugh map, f = a’c’d + bc’d + bcd’+ acd’(7-1) ( , , , ) (1,5,6,10,13,14)f a b c d m
  • 7. Department of Communication Engineering, NCTU 7 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Factoring (7-1) yields f=c'd(a'+b)+cd'(a+b) (7-2)  Both realizations use 5 gates, but the later one has fewer inputs with on more level of gate delays
  • 8. Department of Communication Engineering, NCTU 8 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  An alternative realization in POS form: obtained from the 0’s on the Karnaugh map f'=c'd'+ab'c'+cd+a'b'c (7-3) f=(c+d)(a'+b+c)(c'+d')(a+b+c') (7-4)
  • 9. Department of Communication Engineering, NCTU 9 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Partially multiplying out (7-4) using (X+Y)(X+Z)=X+YZ : f =[c+d(a'+b)][c'+d'(a+b)] (7-5) =(c+a'd+bd)(c'+ad'+bd') (7-6)  Eq. (7-6) leads to a 3-level AND-OR-AND circuit
  • 10. Department of Communication Engineering, NCTU 10 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Summaries:  If an expression for f’has n-levels, the complement of that expression is an n-level expression of f  To realize f as an n-level circuit with an AND-gate output, one procedure is to find an n-level expression for f’with an OR operation at the output and then complement the expression for f’
  • 11. Department of Communication Engineering, NCTU 11 7.2 NAND and NOR Gates
  • 12. Department of Communication Engineering, NCTU 12 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  NAND and NOR gates are frequently used because they are generally faster and use fewer components than AND or OR gates  Any logic function can be implemented using only NAND or only NOR gates  An n-input NAND gate is 1 2 1 2( )n nF X X X X X X      
  • 13. Department of Communication Engineering, NCTU 13 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Similarly, an n-input NOR gate is  A set of function is said to be functionally complete if any Boolean function can be expressed in terms of this set of operations, e.g. AND, OR and NOT  Any set of logic gates which can realize AND, OR, and NOT is also functionally complete 1 2 1 2( )n nF X X X X X X        
  • 14. Department of Communication Engineering, NCTU 14 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  E.g. AND and NOT form a functionally complete set of gates, since  NAND is also functionally complete
  • 15. Department of Communication Engineering, NCTU 15 7.3 Design of Two-Level Circuits Using NAND and NOR Gates
  • 16. Department of Communication Engineering, NCTU 16 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  A two-level circuit composed of AND and OR gates is easily converted to a circuit composed of NAND gates or NOR gates. E.g. converting from a minimum SOP  (7-13):AND-OR (7-14):NAND-NAND (7-15):OR-NAND (7-16):NOR-OR
  • 17. Department of Communication Engineering, NCTU 17 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
  • 18. Department of Communication Engineering, NCTU 18 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Obtaining a two-level circuit containing only NOR gates should start with the minimum POS for F, instead of SOP  E.g.  (7-18):OR-AND (7-19):NOR-NOR (7-20):AND-NOR (7-21):NAND-AND
  • 19. Department of Communication Engineering, NCTU 19 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
  • 20. Department of Communication Engineering, NCTU 20 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Two of the most commonly used circuits are the NAND- NAND and the NOR-NOR  Procedure for designing a min 2-level NAND-NAND circuit  Find a minimum SOP for F  Draw the corresponding two-level AND-OR circuit  Replacing all gates with NAND gates
  • 21. Department of Communication Engineering, NCTU 21 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Procedure for designing a min 2-level NOR-NOR circuit  Find a minimum POS for F  Draw the corresponding two-level OR-AND circuit  Replace all gates with NOR gates
  • 22. Department of Communication Engineering, NCTU 22 7.4 Design of Multi-Level NAND- and NOR-Gate Circuits
  • 23. Department of Communication Engineering, NCTU 23 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  The following procedure may be used to design multi- level NAND-gate circuits  Simplify the switching function to be realized  Design a multi-level circuit of AND and OR gates.  The output gate must be a OR gate  AND-gate outputs cannot be used as AND-gate inputs; OR- gate outputs cannot be used as OR-gates inputs  Replace all gates with NAND gates  The procedure for the design of multi-level NOR-gate circuits is exactly the same as for NAND-gate circuits except that the output gate of the circuit must be an AND gate, and all gates are replaced with NOR gates
  • 24. Department of Communication Engineering, NCTU 24 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
  • 25. Department of Communication Engineering, NCTU 25 7.5 Circuit Conversion Using Alternative Gate Symbols
  • 26. Department of Communication Engineering, NCTU 26 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Alternative representations for an inverter  Alternative representations for AND, OR, NAND and NOR gates
  • 27. Department of Communication Engineering, NCTU 27 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
  • 28. Department of Communication Engineering, NCTU 28 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  The procedure for converting AND-OR circuit to a NAND or NOR circuit  Convert all AND gates to NAND gates by adding an inversion bubble at the output  Convert all OR gates to NAND gates by adding inversion bubbles at the inputs  Whenever an inverted output drives an inverted input, these two inversions cancel  Whenever a noninverted gate output drives an inverted gate input or vice versa, insert an inverter so that the bubble will cancel
  • 29. Department of Communication Engineering, NCTU 29 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu
  • 30. Department of Communication Engineering, NCTU 30 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Example
  • 31. Department of Communication Engineering, NCTU 31 7.6 Design of Two-Level, Multiple- Output Circuits
  • 32. Department of Communication Engineering, NCTU 32 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Solution of digital design problems often requires the realization of several functions of the same variables. The use of some gates in common between two or more functions sometimes leads to a more economical circuit  E.g. we have
  • 33. Department of Communication Engineering, NCTU 33 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  The individual realizations to them are
  • 34. Department of Communication Engineering, NCTU 34 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Observe that the term ACD is necessary for the realization of F1 and that A’CD is necessary for F3. If replacing CD in F2 by A’CD + ACD, the realization of CD is unnecessary
  • 35. Department of Communication Engineering, NCTU 35 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  In realizing multiple-output circuits, the use of a minimum sum of prime implicants for each function does not necessarily lead to a minimum cost solution  When designing multiple-output circuits, try to minimum the total number of gates required  E.g. 1 2 3 (2,3,5,7,8,9,10,11,13,15) (2,3,5,6,7,10,11,14,15) (6,7,8,9,13,14,15) f m f m f m      
  • 36. Department of Communication Engineering, NCTU 36 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  The corresponding Karnaugh maps are
  • 37. Department of Communication Engineering, NCTU 37 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  By inspection, we can see that  a’bd from f2, abd from f3 and ab’c’from f3 can be used in f1. Replacing bd with a’bd + abd, the gate needed to realize bd can be eliminated.  m10 and m11 in f1 are already covered by b’c, and ab’c’from f3 can be used to cover m8 and m9, thus ab’being eliminated  The minimum solution is therefore
  • 38. Department of Communication Engineering, NCTU 38 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Determination of essential prime implicants for multiple- output realization  The prime implicants essential to an individual function may not be essential to the multiple-output realization  bd is an essential prime implicant of f1 but not of all f’s
  • 39. Department of Communication Engineering, NCTU 39 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  When searching for a prime implicant to an multiple-output realization,  Check each 1 which do not appear on the other function maps  Example 1  c’d is essential to f1, bd’is essential to f2  abd is not essential since it appears on both maps
  • 40. Department of Communication Engineering, NCTU 40 Logic Design Unit 7 Multi-Level Gate Circuits Sau-Hsuan Wu  Example 2  a’d’and a’bc’are essential to f1  bd’and a’b’c are essential to f2