Logic Gates
BY: Adeel Rasheed
A logic gate is an elementary building
block of a Digital Circuit.
 Most logic gates have two inputs and one output
 Every terminal is in one of the two Binary Digits
(0) or (1)
 Low state approximately zero volts (0 volts)
 High state approximately five volts (+5 volts)
Possibilities of (0) or (1)
1 0
On Off
High Low
Open Close
Right Wrong
Yes No
True false
Basic types of logic gates.
 AND Gate
 OR Gate (or inverter)
 NOT Gate
 XOR Gate (Exclusive-OR Gate)
 NAND Gate
 NOR Gate
 XNOR Gate (Exclusive-NOR Gate)
AND Gate
 An AND gate accepts two input signals
 If the two input values for an AND gate are both 1, the
output is 1; otherwise, the output is 0
AND Gate
 A binary arrangement with two switches in series
OR Gate
 If the two input values are both 0, the output value is
0, otherwise, the output is 1
OR Gate
 A binary arrangement with two switches in parallel
Not Gate
 A logical inverter , sometimes called a NOT gate to
differentiate it from other types of electronic inverter
devices, has only one input. It reverses the logic state.
XOR Gate
 XOR, or exclusive OR, gate
 An XOR gate produces 0 if its two inputs are the same,
and a 1 otherwise
 Note the difference between the XOR gate
and the OR gate; they differ only in one
input situation
 When both input signals are 1, the OR gate produces a 1
and the XOR produces a 0
XOR Gate
XOR Gate
(A*B) (A*B) A B
  
XOR Gate having two AND, one OR and two
NOT Gates
NAND Gate
 A NAND gate produces the opposite results of an AND
gate
NAND Gate
NAND Gate is combination of AND
and NOT Gate
NOR Gate
 A NOR gate produces the opposite results of an OR
gate
NOR Gate
NOR Gate is combination of OR and
NOT Gate
XNOR Gate
 A NOR gate produces the opposite results of an XOR
gate
XNOR Gate
XNOR Gate is combination of XOR
and NOT Gate
Uses of Gates
 Use for doorbell
 Use in smoke sensors
 Use in traffic lights
 Use in mobile or calculators
 Use in UPS chips

logicgates-180511113246666666660 (1).pdf

  • 1.
  • 2.
  • 3.
    A logic gateis an elementary building block of a Digital Circuit.  Most logic gates have two inputs and one output  Every terminal is in one of the two Binary Digits (0) or (1)  Low state approximately zero volts (0 volts)  High state approximately five volts (+5 volts)
  • 4.
    Possibilities of (0)or (1) 1 0 On Off High Low Open Close Right Wrong Yes No True false
  • 5.
    Basic types oflogic gates.  AND Gate  OR Gate (or inverter)  NOT Gate  XOR Gate (Exclusive-OR Gate)  NAND Gate  NOR Gate  XNOR Gate (Exclusive-NOR Gate)
  • 6.
    AND Gate  AnAND gate accepts two input signals  If the two input values for an AND gate are both 1, the output is 1; otherwise, the output is 0
  • 7.
    AND Gate  Abinary arrangement with two switches in series
  • 8.
    OR Gate  Ifthe two input values are both 0, the output value is 0, otherwise, the output is 1
  • 9.
    OR Gate  Abinary arrangement with two switches in parallel
  • 10.
    Not Gate  Alogical inverter , sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state.
  • 11.
    XOR Gate  XOR,or exclusive OR, gate  An XOR gate produces 0 if its two inputs are the same, and a 1 otherwise  Note the difference between the XOR gate and the OR gate; they differ only in one input situation  When both input signals are 1, the OR gate produces a 1 and the XOR produces a 0
  • 12.
  • 13.
    XOR Gate (A*B) (A*B)A B    XOR Gate having two AND, one OR and two NOT Gates
  • 14.
    NAND Gate  ANAND gate produces the opposite results of an AND gate
  • 15.
    NAND Gate NAND Gateis combination of AND and NOT Gate
  • 16.
    NOR Gate  ANOR gate produces the opposite results of an OR gate
  • 17.
    NOR Gate NOR Gateis combination of OR and NOT Gate
  • 18.
    XNOR Gate  ANOR gate produces the opposite results of an XOR gate
  • 19.
    XNOR Gate XNOR Gateis combination of XOR and NOT Gate
  • 20.
    Uses of Gates Use for doorbell  Use in smoke sensors  Use in traffic lights  Use in mobile or calculators  Use in UPS chips