1 / 21

Basic Logic Gates

Basic Logic Gates. Module M1.1 Section 3.1. Basic Logic Gates. NOT, AND, and OR Gates NAND and NOR Gates DeMorgan’s Theorem Exclusive-OR (XOR) Gate. NOT. X. Y. Y. = !X. NOT Gate -- Inverter. Y. X. 0 1. 1 0. NOT. Y = !X Y = X’ Y = X Y = X. NOT. X. !X. !!X = X. X !X !!X

katalin
Download Presentation

Basic Logic Gates

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic Logic Gates Module M1.1 Section 3.1

  2. Basic Logic Gates • NOT, AND, and OR Gates • NAND and NOR Gates • DeMorgan’s Theorem • Exclusive-OR (XOR) Gate

  3. NOT X Y Y = !X NOT Gate -- Inverter Y X 0 1 1 0

  4. NOT • Y = !X • Y = X’ • Y = X • Y = X

  5. NOT X !X !!X = X X !X !!X 0 1 0 1 0 1

  6. AND Gate AND X Y Z 0 0 0 0 1 0 1 0 0 1 1 1 X Z Y Z = X & Y

  7. AND • X & Y • X Y • X Y • X * Y • XY V U

  8. OR Gate OR X Y Z 0 0 0 0 1 1 1 0 1 1 1 1 X Z Y Z = X # Y

  9. OR • X # Y • X + Y • X V Y • X U Y

  10. NAND Gate NAND X Y Z 0 0 1 0 1 1 1 0 1 1 1 0 X Z Y Z = !(X & Y)

  11. NAND Gate NOT-AND X Y W Z 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 X W Z Y W = X & Y Z = !W = !(X & Y)

  12. NOR Gate NOR X Y Z 0 0 1 0 1 0 1 0 0 1 1 0 X Z Y Z = !(X # Y)

  13. NOR Gate NOT-OR X Y W Z 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 X W Z Y W = X # Y Z = !W = !(X # Y)

  14. NAND Gate X Z X Z = Y Y Z = !(X & Y) Z = !X # !Y X Y W Z 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 X Y !X !Y Z 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 0

  15. De Morgan’s Theorem-1 !(X & Y) = !X # !Y • NOT all variables • Change & to # and # to & • NOT the result

  16. NOR Gate X X Z Z Y Y Z = !(X # Y) Z = !X & !Y X Y Z 0 0 1 0 1 0 1 0 0 1 1 0 X Y !X !Y Z 0 0 1 1 1 0 1 1 0 0 1 0 0 1 0 1 1 0 0 0

  17. De Morgan’s Theorem-2 !(X # Y) = !X & !Y • NOT all variables • Change & to # and # to & • NOT the result

  18. De Morgan’s Theorem • NOT all variables • Change & to # and # to & • NOT the result • -------------------------------------------- • !X # !Y = !(!!X & !!Y) = !(X & Y) • !(X & Y) = !!(!X # !Y) = !X # !Y • !X & !Y = !(!!X # !!Y) = !(X # Y) • !(X # Y) = !!(!X & !Y) = !X & !Y

  19. Exclusive-OR Gate XOR X Y Z Z X 0 0 0 Y 0 1 1 Z = X $ Y 1 0 1 1 1 0

  20. Exclusive-OR Gate X Y !X !Y !X&Y X&!Y Z 0 0 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0

  21. Problem Z Write the logic equation for Z in terms of X and Y

More Related