SlideShare una empresa de Scribd logo
1 de 44
Logic Gates Digital Logic and  Software Principles © University of Wales Newport 2009 This work is licensed under a  Creative Commons Attribution 2.0 License .
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
AND gate ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Truth Table ,[object Object],[object Object],We can have more than two inputs in which case the only time we would have a 1 out is when all  the inputs are true. Logic Gates A B Y 0 0 0 1 1 0 1 1 A B Y 0 0 0 0 1 0 1 0 0 1 1 1
Symbol ,[object Object],[object Object],Logic Gates A A B B Y Y &
OR gate ,[object Object],[object Object],[object Object],Logic Gates
We can have more than two inputs in which case the only time we would have a 0 out is when all  the inputs are false. American (MIL-STD-806) British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 A B Y 0 0 0 0 1 1 1 0 1 1 1 1 A A B B Y Y  1
NOT gate ,[object Object],[object Object],[object Object],Logic Gates
We can only have one input and the output is always the opposite sign. American (MIL-STD-806) British (IEC 617:12) Logic Gates A Y 0 1 1 0 A A Y Y 1
[object Object],[object Object],Logic Gates
Exclusive OR EXOR gate where the    sign represents logical EXOR. Note that the normal OR includes the case where we have both inputs true. The EXOR does not include this case.  For more than two inputs the gate is defined as:  The output is TRUE if we have an odd number of inputs TRUE Logic Gates A B Y 0 0 0 1 1 0 1 1 A B Y 0 0 0 0 1 1 1 0 1 1 1 0
[object Object],[object Object],Logic Gates A B Y =1 A B Y
Not AND NAND gate where the dot and bar represents logical NAND. We can have more than two inputs in which case the only time we would have a 0 out is when all the inputs are true. American (MIL-STD-806)   British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 1 1 1 0 A B Y & A B Y
Not OR NOR gate where the + sign and bar represents logical NAND. We can have more than two inputs in which case the only time we would have a 1 out is when all the inputs are false. American (MIL-STD-806)   British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 1 0 0 0 A A B B Y Y  1
Universal Gates ,[object Object],[object Object],[object Object],Logic Gates
NOT using NANDs only The Truth Table is for a NAND gate If we tie the inputs of a NAND together then we limit the possible input combinations to two, 1 1 and 0 0. These are shown on the table now if the input is 0 the output is 1 and vice versa –  a NOT gate Logic Gates A B Y 0 0 1 0 1 1 1 0 1 1 1 0 A Y
AND using NANDs only ,[object Object],Note – more than one NAND gate to produce the desired AND gate. Logic Gates A B Y
OR using NANDs only This is our desired OR gate Logic Gates 0 0 0 0 1 1 1 0 1 1 1 1
OR using NANDs only If we now add NOT A and NOT B into our table Logic Gates 0 0 0 1 1 0 1 1 1 0 1 0 1 0 1 1 1 1 0 0
OR using NANDs only If these are now ANDed together Logic Gates 0 0 0 1 1 1 0 1 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 0
OR using NANDs only Finally if we invert our result we see that the 3 rd  and 7 th  column are identical. This means that if we invert the inputs then NAND then we will end up with the OR function. Logic Gates 0 0 0 1 1 1 0 0 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 1
OR using NANDs only Let us examine the way in which logic gates can be used to realise logic circuits: Logic Gates A B Y
Example ,[object Object],[object Object],This can be constructed in the following way:   A S M B O D
[object Object],Logic Gates
Logic Families ,[object Object],Logic Gates
Transistor Transistor Logic TTL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Transistor Transistor Logic TTL ,[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates   Voltage range Speed Power LS +5V 5% 10nS 2mW ALS +5V 5% 7nS 1mW
Transistor Transistor Logic TTL ,[object Object],Logic Gates   Temperature range Voltage supply tolerance Commercial 74 families 0 - 70ºC ±5% Military 54 families -55 - +125ºC ±10%
Transistor Transistor Logic TTL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Available TTL Gate Packages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Complementary Metal Oxide Semiconductor Logic CMOS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Available CMOS Gate Packages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
CMOS Gate Packages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Developments in TTL and CMOS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Logic Problem. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Logic Gates
Convert the circuit to NAND only. Note. We  require: 8 x 2-input NAND 2 x 7400 1 x 3-input NAND 1 x 7410 again 3 chips . Logic Gates OR AND AND NOT 1 2 3 4 5 6 7 8 9
[object Object],[object Object],[object Object],Logic Gates
[object Object],[object Object],[object Object],[object Object],So we need: 3 x 3-input NANDs 1 x 7410 Logic Gates
Note. ,[object Object],Logic Gates
Logic Circuits TTL and CMOS ,[object Object],Logic Gates R1 R2 R3 R4 Q1 Q2 Q3 Q4 D F a b c
[object Object],Logic Gates Output Input A Input B Vs+ Q1 Q2 Q3 Q4
* dependant on frequency Logic Gates Technology Silicon gate CMOS Metal gate CMOS Std TTL Low-power Schottky TTL Schottky TTL Advanced Low – power  Schottky TTL Advanced Schottky TTL Device series SN74HC 4000 SN74 SN74LS SN74AS SN74ALS SN74AS Power diss per gate (mW) Static At 100kHz 0.0000025 0.17 0.001 0.1 10 10 2 2 19 19 1 1 8.5 8.5 Progation delay time (nS) 8 105 10 10 3 4 1.5 Maximun clock  (MHz) 40 12 35 40 125 70 200 Maximum output drive (mA) 4 1.6 16 8 20 8 20 Fan out  LS loads Same series 10 * 4 * 40 10 20 20 50 10 20 80 50 40 Maximum input current(mA)  0.0001 -0.0001 -1.6 -0.4 -2.0 -0.1 -0.5
This resource was created by the University of Wales Newport and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © 2009 University of Wales Newport This work is licensed under a  Creative Commons Attribution 2.0 License . The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence.  All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved.  The name and logo should not be reproduced without the express authorisation of the University. Logic Gates

Más contenido relacionado

La actualidad más candente

Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
gavhays
 
Decoders
DecodersDecoders
Decoders
Re Man
 

La actualidad más candente (20)

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
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Security System using XOR & NOR
Security System using XOR & NOR Security System using XOR & NOR
Security System using XOR & NOR
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Decoders
DecodersDecoders
Decoders
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
latches
 latches latches
latches
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 

Similar a Logic gates

Basic logic gates and buffers
Basic logic gates and buffersBasic logic gates and buffers
Basic logic gates and buffers
Edmund Merren
 

Similar a Logic gates (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 & Family.pdf
Logic Gates & Family.pdfLogic Gates & Family.pdf
Logic Gates & Family.pdf
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
 
Digital logic
Digital logicDigital logic
Digital logic
 
logic gates By ZAK
logic gates By ZAKlogic gates By ZAK
logic gates By ZAK
 
Logic gates
Logic gatesLogic gates
Logic gates
 
boolean-logic.pptx
boolean-logic.pptxboolean-logic.pptx
boolean-logic.pptx
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
 
Chap 3
Chap 3Chap 3
Chap 3
 
Logic gatesrevised.ppt
Logic gatesrevised.pptLogic gatesrevised.ppt
Logic gatesrevised.ppt
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Bca i sem de lab
Bca i sem  de labBca i sem  de lab
Bca i sem de lab
 
logic gates
logic gateslogic gates
logic gates
 
Basic logic gates and buffers
Basic logic gates and buffersBasic logic gates and buffers
Basic logic gates and buffers
 
Boolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesBoolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gates
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 

Más de School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport

Más de School of Design Engineering Fashion & Technology (DEFT), University of Wales, Newport (14)

Introduction to fourier analysis
Introduction to fourier analysisIntroduction to fourier analysis
Introduction to fourier analysis
 
Semiconductor theory
Semiconductor theorySemiconductor theory
Semiconductor theory
 
Number codes
Number codesNumber codes
Number codes
 
Decoders student
Decoders studentDecoders student
Decoders student
 
Number codes students
Number codes studentsNumber codes students
Number codes students
 
Design considerations
Design considerationsDesign considerations
Design considerations
 
Number bases
Number basesNumber bases
Number bases
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Stabilised Power Supplies
Stabilised Power SuppliesStabilised Power Supplies
Stabilised Power Supplies
 
Amplifier Compensation
Amplifier CompensationAmplifier Compensation
Amplifier Compensation
 
Counter And Sequencer Design- Student
Counter And Sequencer Design- StudentCounter And Sequencer Design- Student
Counter And Sequencer Design- Student
 
Chapter 6 Probability
Chapter 6  ProbabilityChapter 6  Probability
Chapter 6 Probability
 
Chapter 4 Integration
Chapter 4  IntegrationChapter 4  Integration
Chapter 4 Integration
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

Logic gates

  • 1. Logic Gates Digital Logic and Software Principles © University of Wales Newport 2009 This work is licensed under a Creative Commons Attribution 2.0 License .
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. We can have more than two inputs in which case the only time we would have a 0 out is when all the inputs are false. American (MIL-STD-806) British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 A B Y 0 0 0 0 1 1 1 0 1 1 1 1 A A B B Y Y  1
  • 8.
  • 9. We can only have one input and the output is always the opposite sign. American (MIL-STD-806) British (IEC 617:12) Logic Gates A Y 0 1 1 0 A A Y Y 1
  • 10.
  • 11. Exclusive OR EXOR gate where the  sign represents logical EXOR. Note that the normal OR includes the case where we have both inputs true. The EXOR does not include this case. For more than two inputs the gate is defined as: The output is TRUE if we have an odd number of inputs TRUE Logic Gates A B Y 0 0 0 1 1 0 1 1 A B Y 0 0 0 0 1 1 1 0 1 1 1 0
  • 12.
  • 13. Not AND NAND gate where the dot and bar represents logical NAND. We can have more than two inputs in which case the only time we would have a 0 out is when all the inputs are true. American (MIL-STD-806) British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 1 1 1 0 A B Y & A B Y
  • 14. Not OR NOR gate where the + sign and bar represents logical NAND. We can have more than two inputs in which case the only time we would have a 1 out is when all the inputs are false. American (MIL-STD-806) British (IEC 617:12) Logic Gates A B Y 0 0 0 1 1 0 1 1 1 0 0 0 A A B B Y Y  1
  • 15.
  • 16. NOT using NANDs only The Truth Table is for a NAND gate If we tie the inputs of a NAND together then we limit the possible input combinations to two, 1 1 and 0 0. These are shown on the table now if the input is 0 the output is 1 and vice versa – a NOT gate Logic Gates A B Y 0 0 1 0 1 1 1 0 1 1 1 0 A Y
  • 17.
  • 18. OR using NANDs only This is our desired OR gate Logic Gates 0 0 0 0 1 1 1 0 1 1 1 1
  • 19. OR using NANDs only If we now add NOT A and NOT B into our table Logic Gates 0 0 0 1 1 0 1 1 1 0 1 0 1 0 1 1 1 1 0 0
  • 20. OR using NANDs only If these are now ANDed together Logic Gates 0 0 0 1 1 1 0 1 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 0
  • 21. OR using NANDs only Finally if we invert our result we see that the 3 rd and 7 th column are identical. This means that if we invert the inputs then NAND then we will end up with the OR function. Logic Gates 0 0 0 1 1 1 0 0 1 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 1
  • 22. OR using NANDs only Let us examine the way in which logic gates can be used to realise logic circuits: Logic Gates A B Y
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. Convert the circuit to NAND only. Note. We require: 8 x 2-input NAND 2 x 7400 1 x 3-input NAND 1 x 7410 again 3 chips . Logic Gates OR AND AND NOT 1 2 3 4 5 6 7 8 9
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. * dependant on frequency Logic Gates Technology Silicon gate CMOS Metal gate CMOS Std TTL Low-power Schottky TTL Schottky TTL Advanced Low – power Schottky TTL Advanced Schottky TTL Device series SN74HC 4000 SN74 SN74LS SN74AS SN74ALS SN74AS Power diss per gate (mW) Static At 100kHz 0.0000025 0.17 0.001 0.1 10 10 2 2 19 19 1 1 8.5 8.5 Progation delay time (nS) 8 105 10 10 3 4 1.5 Maximun clock (MHz) 40 12 35 40 125 70 200 Maximum output drive (mA) 4 1.6 16 8 20 8 20 Fan out LS loads Same series 10 * 4 * 40 10 20 20 50 10 20 80 50 40 Maximum input current(mA)  0.0001 -0.0001 -1.6 -0.4 -2.0 -0.1 -0.5
  • 44. This resource was created by the University of Wales Newport and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © 2009 University of Wales Newport This work is licensed under a Creative Commons Attribution 2.0 License . The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence.  All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. The name and logo of University of Wales Newport is a trade mark and all rights in it are reserved. The name and logo should not be reproduced without the express authorisation of the University. Logic Gates