SlideShare une entreprise Scribd logo
1  sur  25
DIGITAL LOGIC
 What is gate?
 The Basic Gates
 NOT gate
 OR gate
 AND gate
 Universal Logic Gates
 NOR gate
 NAND gate
1
Presented by,
M.Madhu Bala
GATES
 A digital circuit having one or more input signals but only one
output signal is called a gate.
 Connecting the basic gates in different ways makes it
possible to produce circuits.
 Gates are often called logic circuits.
 The basic gates can be used to produce any digital system.
 The three basic logic circuits are
 the inverter (NOT)
 the OR gate and
 the AND gate
2
THE INVERTER (NOT GATE)
 A NOT gate has one input signal and one output signal.
 The output Y of NOT gate is always complement of input A.
 In equation form
Y= NOT A Y=A‘ Y=A
 There are only two possible voltage levels (low and high) associated
with a digital circuit. This fits with the binary number system (0&1)
 This is often referred to as two-state operation.
 In the positive logic,
 the higher voltage level is assigned the binary value 1 (H=1)
 the lower voltage level is assigned the binary value 0 .(L=0)
3
A Y=A’
L H
H L
A Y=A’
0 1
1 0
Logic Circuit of NOT gate
Truth Table
THE INVERTER (NOT GATE)
TTL NOT Gates
Pinout diagram of a 7404 hex inverter
 This IC contains six inverters.
 After applying +5 V to pin 14 and grounding pin 7, you can connect
any or all inverters to other Transistor–Transistor Logic(TTL) devices.
4
OR GATE
 An OR gate has two or more input signals but only one output
signal.
 It is called an OR gate because the output voltage is high if any or
all of the input voltages are high.
 In Boolean equation form
Y = A OR B Y = A + B
The '+' sign represents the logic operation OR
 The number of rows in a truth table equals 2n, where n is the
number of inputs
5
Logic Circuit of OR gate
A B Y=A+B
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
Three- input OR gate
 The inputs are A, B, and C.
 When all inputs are low, the output is low.
 If any input is high, the output will be high.
 Boolean Equation Form:
Y = A+B+C
6
OR GATE (CONT..)
A B C Y=A+B+C
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1Logic Circuit of 3-input OR gate
Truth Table
TTL OR Gates
This digital IC contains four 2-input OR gates inside a 14-
pin DIP.
After connecting a supply voltage of +5 V to pin 14 and a
ground to pin 7, you can connect one or more of the OR
gates to other TTL devices.
7
OR GATE (CONT.)
Timing diagram for 2-input OR gate
 The input voltages drive pins 1 and 2 of a 7432.
 The output (pin 3) is low only when both inputs are low.
 The output is high the rest of the time.
8
OR GATE (CONT..)
 The AND gate has a high output only when all inputs are high.
otherwise the output will be low.
 AND gate also known as all-or-nothing gate.
 In Boolean equation form
Y =A AND B Y=A.B Y=AB
The '.' sign represents the logic AND operation.
9
AND GATE
A B Y=AB
0 0 0
0 1 0
1 0 0
1 1 1Logic Circuit of AND gate
Truth Table
Three- input AND gate
 The inputs are A, B, and C.
 When all inputs are high, the output is high.
 If even one input is low, the output is in the low state.
 In Boolean equation form:
Y=A.B.C Y=ABC
10
AND GATE (CONT..)
A B C Y=ABC
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
Logic Circuit of AND gate
Truth Table
TTL AND Gates
 This digital IC contains four 2-input AND gates.
 After connecting a supply voltage of +5V to pin 14 and a ground to
pin 7, you can connect one or more of the AND gates to other TTL
devices.
 TTL AND gates are also available in triple 3-input and dual 4-input
packages.
11
AND GATE (CONT..)
Timing diagram for a 2-input AND gate
The input voltages drive pins 1 and 2 of a 7408.
the output (pin 3) is high only when both inputs are high.
The output is low the rest of the time.
12
AND GATE (CONT..)
The NAND & NOR gates are called universal gates because
they can perform all the logical operations of basis gates like
AND, OR, NOT.
13
Universal Logic Gate
 The circuit of NOR gate is a circuit of OR gate followed by an inverter
 The output of NOR gate is
Y=A+B
 NOR Gates also called a NOT-OR gate.
 All inputs must be low to get a high output.
 If any input is high, the output is low.
14
NOR GATE
Logic Circuit of NOR Gates
Abbreviated form Standard form IEEE form
Truth Table
A B Y=(A+B)’
0 0 1
0 1 0
1 0 0
1 1 0
Pin- out Diagram of NOR gate
15
NOR GATE (CONT.)
Bubbled AND Gate
 Bubbled AND Gate inverters on the input lines of an AND gate.
 The output of bubbled AND gate and NOR gate are identical.
 Therefore, these two circuits are equivalent and thus
interchangeable.
 The output of bubbled AND gate is represented as
Y= A . B
16
NOR GATE (CONT.)
Abbreviated form Standard form
Truth Table
A B A’ B’ Y=A’.B’
0 0 1 1 1
0 1 1 0 0
1 0 0 1 0
1 1 0 0 0
Logic Circuit of Bubbled AND Gates
De Morgan's First Theorem
NOR gate : Y=(A+B)’
bubbled AND gate : Y=A’B’
 The outputs are equal for the same inputs, so that (A+B)’ = A’B’
 The complement of a sum equals the product of the complements.
This identity is known as De Morgan’s, first theorem.
 This can also be proved by comparing the truth tables of NOR and
bubbled AND gates.
 Three input NOR gate and three input bubbled AND gate are
identical and it can write, (A+ B + C)' = A'B'C'
 This equivalence can be extended to gates or circuits for larger
number of inputs, too.
17
NOR GATE (CONT.)
NOT from NOR
 To get a NOT gate, tie inputs of NOR gate together so that there is
only one input to the circuit.
 If input is 0, then both the inputs to NOR gate are 0 that gives output
1.
 Similarly, if input is 1, both the inputs to NOR gate are 1 that gives
output 0.
 Therefore the output of circuit is complement of its input and thus
gives NOT operation.
18
NOR GATE (CONT.)
OR from NOR
 To get a OR gate, two NOR gates are used.
 The first NOR gate performs usual NOR operation.
 The second NOR gate performs as NOT gate and inverts the
NOR logic to OR
19
NOR GATE (CONT.)
A+B
AND from NOR
 To get a AND gate, three NOR gates are used.
 The first and second NOR gate performs as NOT gate.
 NOT gates are replaced by NOR equivalent. Since NOR gate is
NOT operation followed by OR we invert the
 output of example 2.3, shown in Fig. 2.9b to get output of this
circuit. Thus output of circuit in Fig. 2.2 lc is
 high only when both the inputs are high and it functions like an
AND gate.
20
NOR GATE (CONT.)
 The circuit of NAND gate is a circuit of AND gate followed by an
inverter
 The output of NAND gate is
Y=AB "Y equals NOT A AND B"
 NAND Gates also called a NOT-AND gate.
 All inputs must be high to get a low output.
 If any input is low, the output is high.
21
NAND GATE
Logic Circuit of NAND Gate
Abbreviated form Standard form IEEE form
Truth Table
A B AB Y=AB
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
Pin- out Diagram of NAND gate
22
NAND GATE (CONT.)
Bubbled OR Gate
 Bubbled OR Gate inverters on the input lines of an OR gate.
 The output of bubbled OR gate and NAND gate are identical.
 Therefore, these two circuits are equivalent and thus
interchangeable.
 The output of bubbled OR gate is represented as
Y=A+B
23
NAND GATE (CONT.)
A B A B Y=A+B
0 0 1 1 1
0 1 1 0 1
1 0 0 1 1
1 1 0 0 0
Abbreviated form Standard form
Truth TableLogic Circuit of Bubbled OR Gate
De Morgan's Second Theorem
NAND Gate :(AB)’
Bubbled OR Gate : Y=A’+B’
 The outputs are equal for the same inputs, so that (AB)’ = A’+B’
 The complement of a product equals the sum of the complements.
This identity is known as De Morgan’s second theorem.
 This can also be proved by comparing the truth tables of NAND gate
and bubbled OR gate.
 Three input NAND gate and three input bubbled OR gate are identical
and it can write, (ABC)' = A’+B‘+C’
 This equivalence can be extended to gates or circuits with any number
of inputs.
24
NAND GATE (CONT.)
THANK YOU
25

Contenu connexe

Tendances

multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
basic logic gates
 basic logic gates basic logic gates
basic logic gatesvishal gupta
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
halfadder & halfsubtractor using 4:1 MUX
halfadder & halfsubtractor using 4:1 MUXhalfadder & halfsubtractor using 4:1 MUX
halfadder & halfsubtractor using 4:1 MUXU Reshmi
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean AlgebraHau Moy
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 
Adder substracter
Adder substracterAdder substracter
Adder substracterWanNurdiana
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basicsanishgoel
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logicKamal Acharya
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converterMahady Hasan
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codesRevathi Subramaniam
 
Carry look ahead adder
Carry look ahead adderCarry look ahead adder
Carry look ahead adderdragonpradeep
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
 

Tendances (20)

multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
halfadder & halfsubtractor using 4:1 MUX
halfadder & halfsubtractor using 4:1 MUXhalfadder & halfsubtractor using 4:1 MUX
halfadder & halfsubtractor using 4:1 MUX
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Subtractor
SubtractorSubtractor
Subtractor
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
Adder substracter
Adder substracterAdder substracter
Adder substracter
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basics
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Logic gate
Logic gateLogic gate
Logic gate
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converter
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
 
Carry look ahead adder
Carry look ahead adderCarry look ahead adder
Carry look ahead adder
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 

Similaire à Digital logic

Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptxAjaykumar967485
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptxAravindaAKumar1
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxRithinA1
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gatesMoviesBuzz1
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdfDamotTesfaye
 
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfDr.Florence Dayana
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer ScienceAnil Kumar Prajapati
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Self-employed
 
solids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptsolids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptUmeshPatil149
 
Solids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptSolids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptJosephMuez2
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 

Similaire à Digital logic (20)

Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
logic gates
logic gateslogic gates
logic gates
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gates
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates (1)
Logic gates (1)Logic gates (1)
Logic gates (1)
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4
 
solids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptsolids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.ppt
 
Solids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptSolids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.ppt
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
 
Chapter+13.ppt
Chapter+13.pptChapter+13.ppt
Chapter+13.ppt
 
Logic gates 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 

Plus de Madhu Bala

Internet of Things (IoT)
Internet of Things (IoT)Internet of Things (IoT)
Internet of Things (IoT)Madhu Bala
 
Operating system
Operating systemOperating system
Operating systemMadhu Bala
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemMadhu Bala
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)Madhu Bala
 
Divide and conquer - Quick sort
Divide and conquer - Quick sortDivide and conquer - Quick sort
Divide and conquer - Quick sortMadhu Bala
 
GPRS Technology
GPRS TechnologyGPRS Technology
GPRS TechnologyMadhu Bala
 
Algorithm - Introduction
Algorithm - IntroductionAlgorithm - Introduction
Algorithm - IntroductionMadhu Bala
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - GraphMadhu Bala
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainMadhu Bala
 

Plus de Madhu Bala (10)

Internet of Things (IoT)
Internet of Things (IoT)Internet of Things (IoT)
Internet of Things (IoT)
 
Operating system
Operating systemOperating system
Operating system
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack Problem
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
 
Divide and conquer - Quick sort
Divide and conquer - Quick sortDivide and conquer - Quick sort
Divide and conquer - Quick sort
 
GPRS Technology
GPRS TechnologyGPRS Technology
GPRS Technology
 
Algorithm - Introduction
Algorithm - IntroductionAlgorithm - Introduction
Algorithm - Introduction
 
4G technology
4G technology4G technology
4G technology
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - Graph
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 

Dernier

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
 
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
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
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
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 

Dernier (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
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...
 
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
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
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
 
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
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 

Digital logic

  • 1. DIGITAL LOGIC  What is gate?  The Basic Gates  NOT gate  OR gate  AND gate  Universal Logic Gates  NOR gate  NAND gate 1 Presented by, M.Madhu Bala
  • 2. GATES  A digital circuit having one or more input signals but only one output signal is called a gate.  Connecting the basic gates in different ways makes it possible to produce circuits.  Gates are often called logic circuits.  The basic gates can be used to produce any digital system.  The three basic logic circuits are  the inverter (NOT)  the OR gate and  the AND gate 2
  • 3. THE INVERTER (NOT GATE)  A NOT gate has one input signal and one output signal.  The output Y of NOT gate is always complement of input A.  In equation form Y= NOT A Y=A‘ Y=A  There are only two possible voltage levels (low and high) associated with a digital circuit. This fits with the binary number system (0&1)  This is often referred to as two-state operation.  In the positive logic,  the higher voltage level is assigned the binary value 1 (H=1)  the lower voltage level is assigned the binary value 0 .(L=0) 3 A Y=A’ L H H L A Y=A’ 0 1 1 0 Logic Circuit of NOT gate Truth Table
  • 4. THE INVERTER (NOT GATE) TTL NOT Gates Pinout diagram of a 7404 hex inverter  This IC contains six inverters.  After applying +5 V to pin 14 and grounding pin 7, you can connect any or all inverters to other Transistor–Transistor Logic(TTL) devices. 4
  • 5. OR GATE  An OR gate has two or more input signals but only one output signal.  It is called an OR gate because the output voltage is high if any or all of the input voltages are high.  In Boolean equation form Y = A OR B Y = A + B The '+' sign represents the logic operation OR  The number of rows in a truth table equals 2n, where n is the number of inputs 5 Logic Circuit of OR gate A B Y=A+B 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table
  • 6. Three- input OR gate  The inputs are A, B, and C.  When all inputs are low, the output is low.  If any input is high, the output will be high.  Boolean Equation Form: Y = A+B+C 6 OR GATE (CONT..) A B C Y=A+B+C 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1Logic Circuit of 3-input OR gate Truth Table
  • 7. TTL OR Gates This digital IC contains four 2-input OR gates inside a 14- pin DIP. After connecting a supply voltage of +5 V to pin 14 and a ground to pin 7, you can connect one or more of the OR gates to other TTL devices. 7 OR GATE (CONT.)
  • 8. Timing diagram for 2-input OR gate  The input voltages drive pins 1 and 2 of a 7432.  The output (pin 3) is low only when both inputs are low.  The output is high the rest of the time. 8 OR GATE (CONT..)
  • 9.  The AND gate has a high output only when all inputs are high. otherwise the output will be low.  AND gate also known as all-or-nothing gate.  In Boolean equation form Y =A AND B Y=A.B Y=AB The '.' sign represents the logic AND operation. 9 AND GATE A B Y=AB 0 0 0 0 1 0 1 0 0 1 1 1Logic Circuit of AND gate Truth Table
  • 10. Three- input AND gate  The inputs are A, B, and C.  When all inputs are high, the output is high.  If even one input is low, the output is in the low state.  In Boolean equation form: Y=A.B.C Y=ABC 10 AND GATE (CONT..) A B C Y=ABC 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 Logic Circuit of AND gate Truth Table
  • 11. TTL AND Gates  This digital IC contains four 2-input AND gates.  After connecting a supply voltage of +5V to pin 14 and a ground to pin 7, you can connect one or more of the AND gates to other TTL devices.  TTL AND gates are also available in triple 3-input and dual 4-input packages. 11 AND GATE (CONT..)
  • 12. Timing diagram for a 2-input AND gate The input voltages drive pins 1 and 2 of a 7408. the output (pin 3) is high only when both inputs are high. The output is low the rest of the time. 12 AND GATE (CONT..)
  • 13. The NAND & NOR gates are called universal gates because they can perform all the logical operations of basis gates like AND, OR, NOT. 13 Universal Logic Gate
  • 14.  The circuit of NOR gate is a circuit of OR gate followed by an inverter  The output of NOR gate is Y=A+B  NOR Gates also called a NOT-OR gate.  All inputs must be low to get a high output.  If any input is high, the output is low. 14 NOR GATE Logic Circuit of NOR Gates Abbreviated form Standard form IEEE form Truth Table A B Y=(A+B)’ 0 0 1 0 1 0 1 0 0 1 1 0
  • 15. Pin- out Diagram of NOR gate 15 NOR GATE (CONT.)
  • 16. Bubbled AND Gate  Bubbled AND Gate inverters on the input lines of an AND gate.  The output of bubbled AND gate and NOR gate are identical.  Therefore, these two circuits are equivalent and thus interchangeable.  The output of bubbled AND gate is represented as Y= A . B 16 NOR GATE (CONT.) Abbreviated form Standard form Truth Table A B A’ B’ Y=A’.B’ 0 0 1 1 1 0 1 1 0 0 1 0 0 1 0 1 1 0 0 0 Logic Circuit of Bubbled AND Gates
  • 17. De Morgan's First Theorem NOR gate : Y=(A+B)’ bubbled AND gate : Y=A’B’  The outputs are equal for the same inputs, so that (A+B)’ = A’B’  The complement of a sum equals the product of the complements. This identity is known as De Morgan’s, first theorem.  This can also be proved by comparing the truth tables of NOR and bubbled AND gates.  Three input NOR gate and three input bubbled AND gate are identical and it can write, (A+ B + C)' = A'B'C'  This equivalence can be extended to gates or circuits for larger number of inputs, too. 17 NOR GATE (CONT.)
  • 18. NOT from NOR  To get a NOT gate, tie inputs of NOR gate together so that there is only one input to the circuit.  If input is 0, then both the inputs to NOR gate are 0 that gives output 1.  Similarly, if input is 1, both the inputs to NOR gate are 1 that gives output 0.  Therefore the output of circuit is complement of its input and thus gives NOT operation. 18 NOR GATE (CONT.)
  • 19. OR from NOR  To get a OR gate, two NOR gates are used.  The first NOR gate performs usual NOR operation.  The second NOR gate performs as NOT gate and inverts the NOR logic to OR 19 NOR GATE (CONT.) A+B
  • 20. AND from NOR  To get a AND gate, three NOR gates are used.  The first and second NOR gate performs as NOT gate.  NOT gates are replaced by NOR equivalent. Since NOR gate is NOT operation followed by OR we invert the  output of example 2.3, shown in Fig. 2.9b to get output of this circuit. Thus output of circuit in Fig. 2.2 lc is  high only when both the inputs are high and it functions like an AND gate. 20 NOR GATE (CONT.)
  • 21.  The circuit of NAND gate is a circuit of AND gate followed by an inverter  The output of NAND gate is Y=AB "Y equals NOT A AND B"  NAND Gates also called a NOT-AND gate.  All inputs must be high to get a low output.  If any input is low, the output is high. 21 NAND GATE Logic Circuit of NAND Gate Abbreviated form Standard form IEEE form Truth Table A B AB Y=AB 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0
  • 22. Pin- out Diagram of NAND gate 22 NAND GATE (CONT.)
  • 23. Bubbled OR Gate  Bubbled OR Gate inverters on the input lines of an OR gate.  The output of bubbled OR gate and NAND gate are identical.  Therefore, these two circuits are equivalent and thus interchangeable.  The output of bubbled OR gate is represented as Y=A+B 23 NAND GATE (CONT.) A B A B Y=A+B 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 0 Abbreviated form Standard form Truth TableLogic Circuit of Bubbled OR Gate
  • 24. De Morgan's Second Theorem NAND Gate :(AB)’ Bubbled OR Gate : Y=A’+B’  The outputs are equal for the same inputs, so that (AB)’ = A’+B’  The complement of a product equals the sum of the complements. This identity is known as De Morgan’s second theorem.  This can also be proved by comparing the truth tables of NAND gate and bubbled OR gate.  Three input NAND gate and three input bubbled OR gate are identical and it can write, (ABC)' = A’+B‘+C’  This equivalence can be extended to gates or circuits with any number of inputs. 24 NAND GATE (CONT.)