SlideShare a Scribd company logo
LOGIC GATE
• Actually the term logic is applied to digital circuits used to implement logic functions.
Several kinds of digital logic circuits are the basic elements that form the building
blocks for such complex digital system as the computer.
• The lines connected to each symbols are the inputs and outputs.
• The inputs are on the left of each symbol and the output is on the right.
• A circuit that performs a specific logic operation (AND, OR) is called a logic gate.
THE INVERTER
• The inverter (NOT circuit) performs the operation called inversion or
complementation.
• The NOT operation changes one logic level to the opposite logical level. When the
input is Low, the output is high. When the input is high, the output is low.
• The inverter changes one logic level to the opposite level. In terms of bits, it
changes a 1 to a 0 and 0 to 1.
TRUTH TABLE OF INVERTER
Input Output
0 1
1 0
When a High level is applied to an inverter input, a Low level will appear on its output.
When a Low level is applied to its input, a High will appear on its output.
LOGICAL EXPRESSION OF INVERTER
X = A’
Logical Symbol.
THE AND GATE
• An AND gate can have two or more inputs and performs what is know as
multiplication.
• The output of AND gate is high when all inputs are high otherwise all outputs are
low.
OPERATION OF AND GATE
• An AND gate produces a HIGH output only when all of the inputs are HIGH. When
any of the inputs is LOW, the output is LOW. Therefore, the basic purpose of AND
gate is to determine when certain conditions are simultaneously true, as indicated
by High levels on all of its inputs, and produces a High on its output.
Inputs Output
A B X
0 0 0
0 1 0
1 0 0
1 1 1
Logical Symbol Truth Table
Logic gates
LOGICAL EXPRESSION
• It’s logical expression is, X=A.B
X=ABC
A
B
X=AB
FOR THREE INPUT AND GATE
INPUT OUTPUT
X Y Z O=X.Y.Z
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
THREE INPUT AND GATE USING (2/1 AND
GATES)
• To determine the total number of possible combination of binary inputs to a gate is
determined by the following formula.
N=2n
Where N is the number of possible input combinations and n is the number of input
variables.
Example,
Two inputs variables; N=22 = 4 Combinations.
Three inputs variables; N=23 = 8 Combinations.
Four inputs variables; N=24 = 16 Combinations.
THE OR GATE
• OR gate can have two or more inputs and performs what is known as logical
addition.
• The output of OR gate is Low when all inputs are low, otherwise all outputs are high
OPERATION OF AN OR GATE
• An OR gate produces a High on the output when any of the inputs is High. The
output is Low only when all of the inputs are Low. Therefore, an OR gate
determines when one or more of its inputs are High and produces a High on its
output.
Logical Symbol
Inputs Output
A B X
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
Logic gates
LOGICAL EXPRESSION
• It’s logical expression is, X=A+B
A
B
X=A+B
A
B
C
X=A+B+C
FOR THREE INPUT OR GATE
INPUT OUTPUT
X Y Z O=X+Y+Z
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 1
THREE INPUT OR GATE USING 2/1
OR GATE
THE NAND GATE
• The NAND gate is the one of the popular logic element because it can be used as a
universal gate; that is NAND gate can be used in combination to perform the AND,
OR, and inverter operations.
• NAND Gate is constructed by attaching NOT Gate at the output of AND Gate,
hence NAND Gate is called NOT- AND Gate.
• NAND Gate has two or more input and only one output.
• The output of NAND gate is low when all inputs are high, otherwise all outputs are
high.
OPERATION OF A NAND GATE
• A NAND gate produces a Low output only when all the inputs are High. When any
of the inputs is Low, the output will be High.
Logical Symbol
Inputs Output
A B X
0 0 1
0 1 1
1 0 1
1 1 0
Truth Table
Logic gates
LOGICAL EXPRESSION OF NAND
• It’s logical expression is, X= (AB)’
Inputs
A B
0 0 (0.0)’= 0’=1
0 1 (0.1)’= 0’=1
1 0 (1.0)’= 0’=1
1 1 (1.1)’= 1’=0
FOR THREE INPUT NAND GATE
INPUT OUTPUT
X Y Z O=(X.Y.Z)’
0 0 0 1
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 0
THREE INPUT NAND GATE USING
2/1 NAND GATE
THE NOR GATE
• The NOR gate, like the NAND gate, NOR gate is also useful logical element
because it can also be used as a universal gate.
• NOR gate can be used in combination to perform the AND, OR and Inverter
operations.
• NOR Gate is the combination of NOT gate at the output of OR gate, hence NOR
gate is type of NOT-OR gate.
• NOR gate has two or more input and only one output.
• The Output of NOR gate is high when all inputs are low otherwise the output is low.
OPERATION OF NOR GATE
• A NOR gate produces a Low output when any of its inputs is high. Only when all of
it’s inputs are low is the output high.
Logical Symbol
Inputs Output
A B X
0 0 1
0 1 0
1 0 0
1 1 0
Truth Table
Logic gates
EXPRESSION OF NOR GATE
• It’s expression is, X=(A+B)’
Inputs
A B
0 0 (0+0)’= 0’=1
0 1 (0+1)’= 0’=0
1 0 (1+0)’= 0’=0
1 1 (1+1)’= 1’=0
FOR THREE INPUT NOR GATE
INPUT OUTPUT
X Y Z O=(X+Y+Z)’
0 0 0 1
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 0
THREE INPUT NOR GATE USING
2/1 NOR GATE
THE EXCLUSIVE- OR GATE
• The exclusive-OR gate has a graphical symbol similar to that of the OR gate, except
for the additional curved line on the input side.
• It can take only 2 inputs.
• We can’t construct Ex-OR Gate using three input Ex-OR gate.
• If both inputs are Low or both are High then it produces the output Low or 0.
otherwise it produce the High.
TRUTH TABLE
• Logical Symbol
Inputs Output
A B AB’+A’B=X
0 0 0.0’+0’.0 =0+0=0
0 1 0.1’+0’+1=0+1=1
1 0 1.0’+1’.0=1+0=1
1 1 1.1’+1’.1=0+0=0
LOGICAL EXPRESSION
• It’s logical expression is X=AB’+A’B
• 𝑋 = 𝐴 ⊕ 𝐵
EXCLUSIVE-NOR GATE
• The exclusive-NOR gate is the complement of the exclusive-OR gate, as indicated
by small circle on the output side of the graphic symbol.
• It can take only 2 inputs.
• We can’t construct Ex-NOR Gate using three input Ex-OR gate.
• If both inputs are Low or both are High then it produces the output High or 1.
otherwise it produce the Low output.
TRUTH TABLE
• Logical symbol
Inputs Output
A B AB’+A’B=X
0 0 0.0+0’.0’=0+1=0
0 1 0.1+0’+1’=0+0=0
1 0 1.0+1’.0’=0+0=0
1 1 1.1+1’.1’=1+0=1
LOGICAL EXPRESSION
• It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′
𝐵′
• 𝑋 = 𝐴 ⊙ 𝐵

More Related Content

PDF
Comparators in DLD.
PPT
boolean algebra and logic simplification
PPT
Digital Logic Design
PPTX
Chapter 4: Combinational Logic
PPTX
latches
PPT
Combinational circuits
PPTX
Logic Gates
Comparators in DLD.
boolean algebra and logic simplification
Digital Logic Design
Chapter 4: Combinational Logic
latches
Combinational circuits
Logic Gates

What's hot (20)

PPTX
PPTX
Chapter 2: Boolean Algebra and Logic Gates
PPTX
Logic gates and NAND and NOR univarsal gates
PPTX
Encoders and decoders
PPT
Half adder & full adder
PDF
Solutions manual for logic and computer design fundamentals 5th edition by ma...
PPTX
Programmable logic devices
PPT
Digital logic gates and Boolean algebra
PPT
Digital Logic Circuits
PDF
Boolean algebra & logic gates
PPTX
module1:Introduction to digital electronics
PPTX
Logic gates ppt
PPTX
Nand and nor as a universal gates
PPT
Logic gates presentation
PPTX
D and T Flip Flop
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PPTX
Boolean Algebra
PPT
ALU arithmetic logic unit
PPT
basic logic gates
PPT
Combinational circuits
Chapter 2: Boolean Algebra and Logic Gates
Logic gates and NAND and NOR univarsal gates
Encoders and decoders
Half adder & full adder
Solutions manual for logic and computer design fundamentals 5th edition by ma...
Programmable logic devices
Digital logic gates and Boolean algebra
Digital Logic Circuits
Boolean algebra & logic gates
module1:Introduction to digital electronics
Logic gates ppt
Nand and nor as a universal gates
Logic gates presentation
D and T Flip Flop
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Boolean Algebra
ALU arithmetic logic unit
basic logic gates
Combinational circuits
Ad

Viewers also liked (15)

PPS
Evaporation
PPT
water cycle-1
PPT
Evaporation
PPTX
Distillation
PPS
Evaporation
PPTX
Evaporation ( simple ppt )
PPTX
PPTX
Evaporation
PPT
Distillation petroleum
PPT
Evaporation
PPT
Conductors and insulators
PPTX
Evaporation
PPTX
Evaporation ppt
PPTX
Evaporation presentation
PDF
INSULATORS AND ITS TYPES
Evaporation
water cycle-1
Evaporation
Distillation
Evaporation
Evaporation ( simple ppt )
Evaporation
Distillation petroleum
Evaporation
Conductors and insulators
Evaporation
Evaporation ppt
Evaporation presentation
INSULATORS AND ITS TYPES
Ad

Similar to Logic gates (20)

PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PDF
logic gates
PPTX
investagatory PHYSICS-LOGIC GATES
PDF
Logic gates
PPTX
Digital Electronics-Review of Logic Gates.pptx
PPTX
EEE-4822_8th_8A_PRESENTATION fILE 8TH.pptx
PDF
Logic Gates.pdf A short evaluation and description of logic gates
PPTX
DOC-20240203-WA0000.pptx
PPT
Logic gates
PPTX
digital electronics .pptx
PDF
Chapter 3_Logic Gates (EEEg4302).pdf
PDF
BASIC LOGIC GATES.pdf
PDF
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
PPTX
Computer System Architecture lecture 12 GLAU
PPTX
Basic Gates in Digital Logic
PPTX
perform operation with boolean algebra
PPTX
Lecture 04-Digital logic gates.pptx
PDF
Logic gates and Boolean.pdf
DOCX
combinational-circuit____gates_456788 (2).docx
PPTX
logic gates.pptx
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
logic gates
investagatory PHYSICS-LOGIC GATES
Logic gates
Digital Electronics-Review of Logic Gates.pptx
EEE-4822_8th_8A_PRESENTATION fILE 8TH.pptx
Logic Gates.pdf A short evaluation and description of logic gates
DOC-20240203-WA0000.pptx
Logic gates
digital electronics .pptx
Chapter 3_Logic Gates (EEEg4302).pdf
BASIC LOGIC GATES.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
Computer System Architecture lecture 12 GLAU
Basic Gates in Digital Logic
perform operation with boolean algebra
Lecture 04-Digital logic gates.pptx
Logic gates and Boolean.pdf
combinational-circuit____gates_456788 (2).docx
logic gates.pptx

More from Nisarg Amin (20)

PPTX
Goods & services tax (gst)
PPTX
Power system earthing
PPTX
Improving boiler availability
PPTX
Types of welding
PPT
Symmetrical component method for 3 phase power representation
PPTX
Streamer theory
PPTX
Single phase full bridge inverter
PPTX
Flowchart for optimal design of dc machine and transfomer
PPTX
Design of commutator and brush
PPT
Typical a.c. supply system
PPTX
Servomechanism in Control systems engineering
PPTX
Dynamic characteristics of thyristor
PPTX
Digital logic devices
PPTX
Design of field regulators for dc shunt generators
PPTX
Firewall and its types and function
PPTX
Nuclear power plant
PPTX
Properties of fourier transform
PPTX
Induction generator
PPTX
Engineering applications of thermodynamics
PPTX
Decimal number system
Goods & services tax (gst)
Power system earthing
Improving boiler availability
Types of welding
Symmetrical component method for 3 phase power representation
Streamer theory
Single phase full bridge inverter
Flowchart for optimal design of dc machine and transfomer
Design of commutator and brush
Typical a.c. supply system
Servomechanism in Control systems engineering
Dynamic characteristics of thyristor
Digital logic devices
Design of field regulators for dc shunt generators
Firewall and its types and function
Nuclear power plant
Properties of fourier transform
Induction generator
Engineering applications of thermodynamics
Decimal number system

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Lesson notes of climatology university.
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharma ospi slides which help in ospi learning
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Insiders guide to clinical Medicine.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Classroom Observation Tools for Teachers
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Lesson notes of climatology university.
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Basic Mud Logging Guide for educational purpose
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Computing-Curriculum for Schools in Ghana
Pharma ospi slides which help in ospi learning
O7-L3 Supply Chain Operations - ICLT Program
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial disease of the cardiovascular and lymphatic systems
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Insiders guide to clinical Medicine.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
Anesthesia in Laparoscopic Surgery in India
PPH.pptx obstetrics and gynecology in nursing
STATICS OF THE RIGID BODIES Hibbelers.pdf
Classroom Observation Tools for Teachers

Logic gates

  • 1. LOGIC GATE • Actually the term logic is applied to digital circuits used to implement logic functions. Several kinds of digital logic circuits are the basic elements that form the building blocks for such complex digital system as the computer. • The lines connected to each symbols are the inputs and outputs. • The inputs are on the left of each symbol and the output is on the right. • A circuit that performs a specific logic operation (AND, OR) is called a logic gate.
  • 2. THE INVERTER • The inverter (NOT circuit) performs the operation called inversion or complementation. • The NOT operation changes one logic level to the opposite logical level. When the input is Low, the output is high. When the input is high, the output is low. • The inverter changes one logic level to the opposite level. In terms of bits, it changes a 1 to a 0 and 0 to 1.
  • 3. TRUTH TABLE OF INVERTER Input Output 0 1 1 0 When a High level is applied to an inverter input, a Low level will appear on its output. When a Low level is applied to its input, a High will appear on its output. LOGICAL EXPRESSION OF INVERTER X = A’
  • 5. THE AND GATE • An AND gate can have two or more inputs and performs what is know as multiplication. • The output of AND gate is high when all inputs are high otherwise all outputs are low.
  • 6. OPERATION OF AND GATE • An AND gate produces a HIGH output only when all of the inputs are HIGH. When any of the inputs is LOW, the output is LOW. Therefore, the basic purpose of AND gate is to determine when certain conditions are simultaneously true, as indicated by High levels on all of its inputs, and produces a High on its output. Inputs Output A B X 0 0 0 0 1 0 1 0 0 1 1 1 Logical Symbol Truth Table
  • 8. LOGICAL EXPRESSION • It’s logical expression is, X=A.B X=ABC A B X=AB
  • 9. FOR THREE INPUT AND GATE INPUT OUTPUT X Y Z O=X.Y.Z 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
  • 10. THREE INPUT AND GATE USING (2/1 AND GATES)
  • 11. • To determine the total number of possible combination of binary inputs to a gate is determined by the following formula. N=2n Where N is the number of possible input combinations and n is the number of input variables. Example, Two inputs variables; N=22 = 4 Combinations. Three inputs variables; N=23 = 8 Combinations. Four inputs variables; N=24 = 16 Combinations.
  • 12. THE OR GATE • OR gate can have two or more inputs and performs what is known as logical addition. • The output of OR gate is Low when all inputs are low, otherwise all outputs are high
  • 13. OPERATION OF AN OR GATE • An OR gate produces a High on the output when any of the inputs is High. The output is Low only when all of the inputs are Low. Therefore, an OR gate determines when one or more of its inputs are High and produces a High on its output. Logical Symbol Inputs Output A B X 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table
  • 15. LOGICAL EXPRESSION • It’s logical expression is, X=A+B A B X=A+B A B C X=A+B+C
  • 16. FOR THREE INPUT OR GATE INPUT OUTPUT X Y Z O=X+Y+Z 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 1
  • 17. THREE INPUT OR GATE USING 2/1 OR GATE
  • 18. THE NAND GATE • The NAND gate is the one of the popular logic element because it can be used as a universal gate; that is NAND gate can be used in combination to perform the AND, OR, and inverter operations. • NAND Gate is constructed by attaching NOT Gate at the output of AND Gate, hence NAND Gate is called NOT- AND Gate. • NAND Gate has two or more input and only one output. • The output of NAND gate is low when all inputs are high, otherwise all outputs are high.
  • 19. OPERATION OF A NAND GATE • A NAND gate produces a Low output only when all the inputs are High. When any of the inputs is Low, the output will be High. Logical Symbol Inputs Output A B X 0 0 1 0 1 1 1 0 1 1 1 0 Truth Table
  • 21. LOGICAL EXPRESSION OF NAND • It’s logical expression is, X= (AB)’ Inputs A B 0 0 (0.0)’= 0’=1 0 1 (0.1)’= 0’=1 1 0 (1.0)’= 0’=1 1 1 (1.1)’= 1’=0
  • 22. FOR THREE INPUT NAND GATE INPUT OUTPUT X Y Z O=(X.Y.Z)’ 0 0 0 1 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 0
  • 23. THREE INPUT NAND GATE USING 2/1 NAND GATE
  • 24. THE NOR GATE • The NOR gate, like the NAND gate, NOR gate is also useful logical element because it can also be used as a universal gate. • NOR gate can be used in combination to perform the AND, OR and Inverter operations. • NOR Gate is the combination of NOT gate at the output of OR gate, hence NOR gate is type of NOT-OR gate. • NOR gate has two or more input and only one output. • The Output of NOR gate is high when all inputs are low otherwise the output is low.
  • 25. OPERATION OF NOR GATE • A NOR gate produces a Low output when any of its inputs is high. Only when all of it’s inputs are low is the output high. Logical Symbol Inputs Output A B X 0 0 1 0 1 0 1 0 0 1 1 0 Truth Table
  • 27. EXPRESSION OF NOR GATE • It’s expression is, X=(A+B)’ Inputs A B 0 0 (0+0)’= 0’=1 0 1 (0+1)’= 0’=0 1 0 (1+0)’= 0’=0 1 1 (1+1)’= 1’=0
  • 28. FOR THREE INPUT NOR GATE INPUT OUTPUT X Y Z O=(X+Y+Z)’ 0 0 0 1 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 0
  • 29. THREE INPUT NOR GATE USING 2/1 NOR GATE
  • 30. THE EXCLUSIVE- OR GATE • The exclusive-OR gate has a graphical symbol similar to that of the OR gate, except for the additional curved line on the input side. • It can take only 2 inputs. • We can’t construct Ex-OR Gate using three input Ex-OR gate. • If both inputs are Low or both are High then it produces the output Low or 0. otherwise it produce the High.
  • 31. TRUTH TABLE • Logical Symbol Inputs Output A B AB’+A’B=X 0 0 0.0’+0’.0 =0+0=0 0 1 0.1’+0’+1=0+1=1 1 0 1.0’+1’.0=1+0=1 1 1 1.1’+1’.1=0+0=0
  • 32. LOGICAL EXPRESSION • It’s logical expression is X=AB’+A’B • 𝑋 = 𝐴 ⊕ 𝐵
  • 33. EXCLUSIVE-NOR GATE • The exclusive-NOR gate is the complement of the exclusive-OR gate, as indicated by small circle on the output side of the graphic symbol. • It can take only 2 inputs. • We can’t construct Ex-NOR Gate using three input Ex-OR gate. • If both inputs are Low or both are High then it produces the output High or 1. otherwise it produce the Low output.
  • 34. TRUTH TABLE • Logical symbol Inputs Output A B AB’+A’B=X 0 0 0.0+0’.0’=0+1=0 0 1 0.1+0’+1’=0+0=0 1 0 1.0+1’.0’=0+0=0 1 1 1.1+1’.1’=1+0=1
  • 35. LOGICAL EXPRESSION • It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′ 𝐵′ • 𝑋 = 𝐴 ⊙ 𝐵