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
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
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
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
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

What's hot

Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
Kamal Acharya
 
module1:Introduction to digital electronics
module1:Introduction to digital electronicsmodule1:Introduction to digital electronics
module1:Introduction to digital electronics
chandrakant shinde
 
Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
Verilog HDL CODES
Verilog HDL CODES Verilog HDL CODES
Verilog HDL CODES
OmkarDarekar6
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machinesIrfan Anjum
 
quine mc cluskey method
 quine mc cluskey method quine mc cluskey method
quine mc cluskey method
Unsa Shakir
 
How to create SystemVerilog verification environment?
How to create SystemVerilog verification environment?How to create SystemVerilog verification environment?
How to create SystemVerilog verification environment?
Sameh El-Ashry
 
Logic gates | Universal gates | Types of logic gates |
Logic gates | Universal gates | Types of logic gates |Logic gates | Universal gates | Types of logic gates |
Logic gates | Universal gates | Types of logic gates |
NITESH POONIA
 
Verilog Tasks & Functions
Verilog Tasks & FunctionsVerilog Tasks & Functions
Verilog Tasks & Functions
anand hd
 
Logic gates
Logic gatesLogic gates
Modules and ports in Verilog HDL
Modules and ports in Verilog HDLModules and ports in Verilog HDL
Modules and ports in Verilog HDL
anand hd
 
Verilog
VerilogVerilog
Verilog
Mohamed Rayan
 
Quine mccluskey method
Quine mccluskey methodQuine mccluskey method
Quine mccluskey method
Kanmani R
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
GargiKhanna1
 
VHDL Behavioral Description
VHDL Behavioral DescriptionVHDL Behavioral Description
VHDL Behavioral Description
Sudhanshu Janwadkar
 
Behavioral modelling in VHDL
Behavioral modelling in VHDLBehavioral modelling in VHDL
Behavioral modelling in VHDL
Bhupendra Pratap Singh
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
Siddhi Shrivas
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
vishal gupta
 

What's hot (20)

Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
module1:Introduction to digital electronics
module1:Introduction to digital electronicsmodule1:Introduction to digital electronics
module1:Introduction to digital electronics
 
Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)Verilog lab manual (ECAD and VLSI Lab)
Verilog lab manual (ECAD and VLSI Lab)
 
Verilog HDL CODES
Verilog HDL CODES Verilog HDL CODES
Verilog HDL CODES
 
Moore and Mealy machines
Moore and Mealy machinesMoore and Mealy machines
Moore and Mealy machines
 
quine mc cluskey method
 quine mc cluskey method quine mc cluskey method
quine mc cluskey method
 
How to create SystemVerilog verification environment?
How to create SystemVerilog verification environment?How to create SystemVerilog verification environment?
How to create SystemVerilog verification environment?
 
Logic gates | Universal gates | Types of logic gates |
Logic gates | Universal gates | Types of logic gates |Logic gates | Universal gates | Types of logic gates |
Logic gates | Universal gates | Types of logic gates |
 
Verilog Tasks & Functions
Verilog Tasks & FunctionsVerilog Tasks & Functions
Verilog Tasks & Functions
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Modules and ports in Verilog HDL
Modules and ports in Verilog HDLModules and ports in Verilog HDL
Modules and ports in Verilog HDL
 
Verilog
VerilogVerilog
Verilog
 
Verilog hdl
Verilog hdlVerilog hdl
Verilog hdl
 
Quine mccluskey method
Quine mccluskey methodQuine mccluskey method
Quine mccluskey method
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 
Verilog
VerilogVerilog
Verilog
 
VHDL Behavioral Description
VHDL Behavioral DescriptionVHDL Behavioral Description
VHDL Behavioral Description
 
Behavioral modelling in VHDL
Behavioral modelling in VHDLBehavioral modelling in VHDL
Behavioral modelling in VHDL
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 

Viewers also liked

Evaporation
Evaporation Evaporation
Evaporation
Miriam Schembri
 
water cycle-1
water cycle-1water cycle-1
water cycle-1rainybops
 
Distillation
DistillationDistillation
Distillation
Masood Hassan
 
Evaporation
EvaporationEvaporation
Evaporation
Miriam Schembri
 
Evaporation ( simple ppt )
Evaporation ( simple ppt )Evaporation ( simple ppt )
Evaporation ( simple ppt )
yogeshsharmaa17
 
Thermal ppt
Thermal pptThermal ppt
Distillation petroleum
Distillation  petroleumDistillation  petroleum
Distillation petroleumarunnagre777
 
Evaporation
EvaporationEvaporation
Evaporationmasato25
 
Conductors and insulators
Conductors and insulatorsConductors and insulators
Conductors and insulatorsMr. M
 
Evaporation
EvaporationEvaporation
Evaporation
deepak190
 
Evaporation presentation
Evaporation presentationEvaporation presentation
Evaporation presentation
Zulcaif Ahmad
 
INSULATORS AND ITS TYPES
INSULATORS AND ITS TYPESINSULATORS AND ITS TYPES
INSULATORS AND ITS TYPES
Raviteja Damerla
 

Viewers also liked (15)

Evaporation
Evaporation Evaporation
Evaporation
 
water cycle-1
water cycle-1water cycle-1
water cycle-1
 
Evaporation
EvaporationEvaporation
Evaporation
 
Distillation
DistillationDistillation
Distillation
 
Evaporation
EvaporationEvaporation
Evaporation
 
Evaporation ( simple ppt )
Evaporation ( simple ppt )Evaporation ( simple ppt )
Evaporation ( simple ppt )
 
Thermal ppt
Thermal pptThermal ppt
Thermal ppt
 
Evaporation
EvaporationEvaporation
Evaporation
 
Distillation petroleum
Distillation  petroleumDistillation  petroleum
Distillation petroleum
 
Evaporation
EvaporationEvaporation
Evaporation
 
Conductors and insulators
Conductors and insulatorsConductors and insulators
Conductors and insulators
 
Evaporation
EvaporationEvaporation
Evaporation
 
Evaporation ppt
Evaporation pptEvaporation ppt
Evaporation ppt
 
Evaporation presentation
Evaporation presentationEvaporation presentation
Evaporation presentation
 
INSULATORS AND ITS TYPES
INSULATORS AND ITS TYPESINSULATORS AND ITS TYPES
INSULATORS AND ITS TYPES
 

Similar to Logic gates

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebra
Brenda Debra
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
Marc Owen Rentap anak Dineal Gumis
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
AmiShete2
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptx
ProfVilasShamraoPati
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
SHETEAMISANJAYRAOSHE
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
ISMT College
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
HrRajon2
 
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
Dhwanil Champaneria
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
Param Radadiya
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
john lexter emberador
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related Device
Md. Nahidul Islam
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATES
Lakhvinder Singh
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
Anil Kumar Prajapati
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
mdashrafulamin7388
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
DanicaHeusdens
 
Logic gates
Logic gatesLogic gates
Logic gates
Limon Prince
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
MeghaChauhan75
 
CSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic GatesCSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic Gates
Kevin Small
 
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
Vanitha Chandru
 

Similar to Logic gates (20)

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebra
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptx
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 
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
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related Device
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATES
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
 
CSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic GatesCSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic Gates
 
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
 

More from Nisarg Amin

Goods & services tax (gst)
Goods & services tax (gst)Goods & services tax (gst)
Goods & services tax (gst)
Nisarg Amin
 
Power system earthing
Power system earthingPower system earthing
Power system earthing
Nisarg Amin
 
Improving boiler availability
Improving boiler availabilityImproving boiler availability
Improving boiler availability
Nisarg Amin
 
Types of welding
Types of weldingTypes of welding
Types of welding
Nisarg Amin
 
Symmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representationSymmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representation
Nisarg Amin
 
Streamer theory
Streamer theoryStreamer theory
Streamer theory
Nisarg Amin
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverter
Nisarg Amin
 
Flowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomerFlowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomer
Nisarg Amin
 
Design of commutator and brush
Design of commutator and brushDesign of commutator and brush
Design of commutator and brush
Nisarg Amin
 
Typical a.c. supply system
Typical a.c. supply systemTypical a.c. supply system
Typical a.c. supply system
Nisarg Amin
 
Servomechanism in Control systems engineering
Servomechanism in Control systems engineeringServomechanism in Control systems engineering
Servomechanism in Control systems engineering
Nisarg Amin
 
Dynamic characteristics of thyristor
Dynamic characteristics of thyristorDynamic characteristics of thyristor
Dynamic characteristics of thyristor
Nisarg Amin
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
Nisarg Amin
 
Design of field regulators for dc shunt generators
Design of field regulators   for dc shunt generatorsDesign of field regulators   for dc shunt generators
Design of field regulators for dc shunt generators
Nisarg Amin
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and function
Nisarg Amin
 
Nuclear power plant
Nuclear power plantNuclear power plant
Nuclear power plant
Nisarg Amin
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transform
Nisarg Amin
 
Induction generator
Induction generatorInduction generator
Induction generator
Nisarg Amin
 
Engineering applications of thermodynamics
Engineering applications of thermodynamicsEngineering applications of thermodynamics
Engineering applications of thermodynamics
Nisarg Amin
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
Nisarg Amin
 

More from Nisarg Amin (20)

Goods & services tax (gst)
Goods & services tax (gst)Goods & services tax (gst)
Goods & services tax (gst)
 
Power system earthing
Power system earthingPower system earthing
Power system earthing
 
Improving boiler availability
Improving boiler availabilityImproving boiler availability
Improving boiler availability
 
Types of welding
Types of weldingTypes of welding
Types of welding
 
Symmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representationSymmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representation
 
Streamer theory
Streamer theoryStreamer theory
Streamer theory
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverter
 
Flowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomerFlowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomer
 
Design of commutator and brush
Design of commutator and brushDesign of commutator and brush
Design of commutator and brush
 
Typical a.c. supply system
Typical a.c. supply systemTypical a.c. supply system
Typical a.c. supply system
 
Servomechanism in Control systems engineering
Servomechanism in Control systems engineeringServomechanism in Control systems engineering
Servomechanism in Control systems engineering
 
Dynamic characteristics of thyristor
Dynamic characteristics of thyristorDynamic characteristics of thyristor
Dynamic characteristics of thyristor
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
 
Design of field regulators for dc shunt generators
Design of field regulators   for dc shunt generatorsDesign of field regulators   for dc shunt generators
Design of field regulators for dc shunt generators
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and function
 
Nuclear power plant
Nuclear power plantNuclear power plant
Nuclear power plant
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transform
 
Induction generator
Induction generatorInduction generator
Induction generator
 
Engineering applications of thermodynamics
Engineering applications of thermodynamicsEngineering applications of thermodynamics
Engineering applications of thermodynamics
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 

Recently uploaded

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

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
  • 7.
  • 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
  • 14.
  • 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
  • 20.
  • 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
  • 26.
  • 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 𝑋 = 𝐴𝐵 + 𝐴′ 𝐵′ • 𝑋 = 𝐴 ⊙ 𝐵