SlideShare a Scribd company logo
1 of 32
Download to read offline
Chapter V
Digital Logic Circuit
Intr. to Mechatronics Prepare by: Bereket 1
5. Digital Logic
Introduction:
• Digital electronic devices used for logic, display, sequencing, timing, and
other functions in mechatronic systems.
• The fundamentals presented in this chapter are important in understanding the
basic functioning of all digital components and systems used in the control of
mechatronic systems.
• Analog signal that changes in a continuous manner, a digital signal exists
only at specific levels or states and changes its level in discrete steps.
• Most digital signals have only two states: high and low.
• A system using two-state signals allows the application of Boolean logic and
binary number representations,
• which form the foundation for the design of all digital devices
Intr. to Mechatronics Prepare by: Bereket 2
5. Digital Logic
• Digital devices are categorized according to their function as combinational
logic or sequential logic devices.
Combinational Logic Circuit
• Combinational Logic circuit contains logic gates where its output is
determined by the combination of the current input, regardless of the output
or the prior combination of input.
• Basically, combinational circuit can be depicted by Diagram 1 below:
• Digital devices convert digital inputs into one or more digital outputs.
• The difference between the two categories is based on signal timing.
Intr. to Mechatronics Prepare by: Bereket 3
5. Digital Logic
• Logic circuits for half adder (HA)
Intr. to Mechatronics Prepare by: Bereket 4
5. Digital Logic
Sequential Logic Circuit
• Sequential Logic Circuit contains logic gates arranged in parallel and its output
is not only determined by the combination of the current input, but also the
prior output.
• The circuit also contains memory elements that enable it to store the
information of the prior output.
• Examples of sequential circuits in the computer system are like registers,
counters and serial adders
Intr. to Mechatronics Prepare by: Bereket 5
5. Digital Logic
Gated S/R Latch
Intr. to Mechatronics Prepare by: Bereket 6
5. Digital Logic
• The standard AND, NAND, OR, NOR, and XOR gates have only two inputs,
but other forms are available with more than two inputs.
• In the case of a multiple input AND gate, the output is 1 if and only if all
inputs are 1.
• Logic gates are built using transistors
Intr. to Mechatronics Prepare by: Bereket 7
NOT Gate -- Inverter
X Y
0
1
1
0
X Y
Y
NOT
X Y
Y = ~X
NOT
NOT
X ~X ~~X = X
X ~X ~~X
0 1 0
1 0 1
Intr. to Mechatronics Prepare by: Bereket 9
AND Gate
AND
X
Y
Z
Z = X & Y
X Y Z
0 0 0
0 1 0
1 0 0
1 1 1
Intr. to Mechatronics Prepare by: Bereket 10
OR Gate
OR
X
Y
Z
Z = X | Y
X Y Z
0 0 0
0 1 1
1 0 1
1 1 1
Intr. to Mechatronics Prepare by: Bereket 11
NAND Gate
NAND
X
Y
Z
X Y Z
0 0 1
0 1 1
1 0 1
1 1 0
Z = ~(X & Y)
nand(Z,X,Y)
Intr. to Mechatronics Prepare by: Bereket 12
NAND Gate
NOT-AND
X
Y
Z
W = X & Y
Z = ~W = ~(X & Y)
X Y W Z
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
W
Intr. to Mechatronics Prepare by: Bereket 13
NOR Gate
NOR
X
Y
Z
X Y Z
0 0 1
0 1 0
1 0 0
1 1 0
Z = ~(X | Y)
nor(Z,X,Y)
Intr. to Mechatronics Prepare by: Bereket 14
NOR Gate
NOT-OR
X
Y
W = X | Y
Z = ~W = ~(X | Y)
X Y W Z
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
Z
W
Intr. to Mechatronics Prepare by: Bereket 15
Exclusive-OR Gate
X Y Z
XOR
X
Y
Z 0 0 0
0 1 1
1 0 1
1 1 0
Z = X ^ Y
xor(Z,X,Y)
Intr. to Mechatronics Prepare by: Bereket 16
Exclusive-NOR Gate
X Y Z
XNOR
X
Y
Z 0 0 1
0 1 0
1 0 0
1 1 1
Z = ~(X ^ Y)
Z = X ~^ Y
xnor(Z,X,Y)
Intr. to Mechatronics Prepare by: Bereket 17
5. Digital Logic
Note: The algebraic symbols used to represent the logic functions are: plus (+) for
logic OR, dot (·) for the logic AND, and an overbar for logic NOT, denoting inversion.
Intr. to Mechatronics Prepare by: Bereket 18
5. Digital Logic
Intr. to Mechatronics Prepare by: Bereket 19
5. Digital Logic
Timing diagrams
Intr. to Mechatronics Prepare by: Bereket 20
5. Digital Logic
Boolean algebra
Intr. to Mechatronics Prepare by: Bereket 21
5. Digital Logic
Boolean algebra
Intr. to Mechatronics Prepare by: Bereket 22
5. Digital Logic
Boolean algebra
Intr. to Mechatronics Prepare by: Bereket 23
5. Digital Logic
Boolean algebra
Intr. to Mechatronics Prepare by: Bereket 24
5. Digital Logic
Logical Expression Simplification
Note: K-map method take it as reading assignment
Intr. to Mechatronics Prepare by: Bereket 25
5. Digital Logic
Intr. to Mechatronics Prepare by: Bereket 26
5. Digital Logic
Intr. to Mechatronics Prepare by: Bereket 27
5. Digital Logic
Intr. to Mechatronics Prepare by: Bereket 28
5. Digital Logic
• NAND and NOR gates are called universal gate
Intr. to Mechatronics Prepare by: Bereket 29
5. Digital Logic
• Logic Chips are built from logic gates
• Integration levels may be Small(SSI), Medium(MSI), Large(LSI) or
Very Large Scale Integration (VLSI).
Intr. to Mechatronics Prepare by: Bereket 30
5. Digital Logic
Draw the Circuit Diagram
Intr. to Mechatronics Prepare by: Bereket 31
End of Chapter V
Intr. to Mechatronics Prepare by: Bereket 32

More Related Content

Similar to Digital Logic Circuit Chapter

computer logic and digital design chapter 1
computer logic and digital design chapter 1computer logic and digital design chapter 1
computer logic and digital design chapter 1tendaisigauke3
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics labswatymanoja
 
04 Unit IV DTE.pptx
04 Unit IV DTE.pptx04 Unit IV DTE.pptx
04 Unit IV DTE.pptxHarsheye
 
Digital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfDigital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfKannan Kanagaraj
 
Video lectures for bba
Video lectures for bbaVideo lectures for bba
Video lectures for bbaEdhole.com
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessorsMilind Pelagade
 
Lata digital electronics
Lata digital electronicsLata digital electronics
Lata digital electronicslata kushwaha
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxMalikQadeer8
 
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Jikrul Sayeed
 
Cs302 shortnoteslectures1to45
Cs302 shortnoteslectures1to45Cs302 shortnoteslectures1to45
Cs302 shortnoteslectures1to45javediqbalmirza
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manualNitesh Dubey
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxAishah928448
 

Similar to Digital Logic Circuit Chapter (20)

Chapter1.ppt
Chapter1.pptChapter1.ppt
Chapter1.ppt
 
computer logic and digital design chapter 1
computer logic and digital design chapter 1computer logic and digital design chapter 1
computer logic and digital design chapter 1
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics lab
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
04 Unit IV DTE.pptx
04 Unit IV DTE.pptx04 Unit IV DTE.pptx
04 Unit IV DTE.pptx
 
Digital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdfDigital Electronics-Unit II.pdf
Digital Electronics-Unit II.pdf
 
Chapter+13.ppt
Chapter+13.pptChapter+13.ppt
Chapter+13.ppt
 
Video lectures for bba
Video lectures for bbaVideo lectures for bba
Video lectures for bba
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessors
 
Lata digital electronics
Lata digital electronicsLata digital electronics
Lata digital electronics
 
341-12-4-2001.ppt
341-12-4-2001.ppt341-12-4-2001.ppt
341-12-4-2001.ppt
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptx
 
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
 
Cs302 shortnoteslectures1to45
Cs302 shortnoteslectures1to45Cs302 shortnoteslectures1to45
Cs302 shortnoteslectures1to45
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

Digital Logic Circuit Chapter

  • 1. Chapter V Digital Logic Circuit Intr. to Mechatronics Prepare by: Bereket 1
  • 2. 5. Digital Logic Introduction: • Digital electronic devices used for logic, display, sequencing, timing, and other functions in mechatronic systems. • The fundamentals presented in this chapter are important in understanding the basic functioning of all digital components and systems used in the control of mechatronic systems. • Analog signal that changes in a continuous manner, a digital signal exists only at specific levels or states and changes its level in discrete steps. • Most digital signals have only two states: high and low. • A system using two-state signals allows the application of Boolean logic and binary number representations, • which form the foundation for the design of all digital devices Intr. to Mechatronics Prepare by: Bereket 2
  • 3. 5. Digital Logic • Digital devices are categorized according to their function as combinational logic or sequential logic devices. Combinational Logic Circuit • Combinational Logic circuit contains logic gates where its output is determined by the combination of the current input, regardless of the output or the prior combination of input. • Basically, combinational circuit can be depicted by Diagram 1 below: • Digital devices convert digital inputs into one or more digital outputs. • The difference between the two categories is based on signal timing. Intr. to Mechatronics Prepare by: Bereket 3
  • 4. 5. Digital Logic • Logic circuits for half adder (HA) Intr. to Mechatronics Prepare by: Bereket 4
  • 5. 5. Digital Logic Sequential Logic Circuit • Sequential Logic Circuit contains logic gates arranged in parallel and its output is not only determined by the combination of the current input, but also the prior output. • The circuit also contains memory elements that enable it to store the information of the prior output. • Examples of sequential circuits in the computer system are like registers, counters and serial adders Intr. to Mechatronics Prepare by: Bereket 5
  • 6. 5. Digital Logic Gated S/R Latch Intr. to Mechatronics Prepare by: Bereket 6
  • 7. 5. Digital Logic • The standard AND, NAND, OR, NOR, and XOR gates have only two inputs, but other forms are available with more than two inputs. • In the case of a multiple input AND gate, the output is 1 if and only if all inputs are 1. • Logic gates are built using transistors Intr. to Mechatronics Prepare by: Bereket 7
  • 8. NOT Gate -- Inverter X Y 0 1 1 0 X Y Y NOT X Y Y = ~X NOT
  • 9. NOT X ~X ~~X = X X ~X ~~X 0 1 0 1 0 1 Intr. to Mechatronics Prepare by: Bereket 9
  • 10. AND Gate AND X Y Z Z = X & Y X Y Z 0 0 0 0 1 0 1 0 0 1 1 1 Intr. to Mechatronics Prepare by: Bereket 10
  • 11. OR Gate OR X Y Z Z = X | Y X Y Z 0 0 0 0 1 1 1 0 1 1 1 1 Intr. to Mechatronics Prepare by: Bereket 11
  • 12. NAND Gate NAND X Y Z X Y Z 0 0 1 0 1 1 1 0 1 1 1 0 Z = ~(X & Y) nand(Z,X,Y) Intr. to Mechatronics Prepare by: Bereket 12
  • 13. NAND Gate NOT-AND X Y Z W = X & Y Z = ~W = ~(X & Y) X Y W Z 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 W Intr. to Mechatronics Prepare by: Bereket 13
  • 14. NOR Gate NOR X Y Z X Y Z 0 0 1 0 1 0 1 0 0 1 1 0 Z = ~(X | Y) nor(Z,X,Y) Intr. to Mechatronics Prepare by: Bereket 14
  • 15. NOR Gate NOT-OR X Y W = X | Y Z = ~W = ~(X | Y) X Y W Z 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 Z W Intr. to Mechatronics Prepare by: Bereket 15
  • 16. Exclusive-OR Gate X Y Z XOR X Y Z 0 0 0 0 1 1 1 0 1 1 1 0 Z = X ^ Y xor(Z,X,Y) Intr. to Mechatronics Prepare by: Bereket 16
  • 17. Exclusive-NOR Gate X Y Z XNOR X Y Z 0 0 1 0 1 0 1 0 0 1 1 1 Z = ~(X ^ Y) Z = X ~^ Y xnor(Z,X,Y) Intr. to Mechatronics Prepare by: Bereket 17
  • 18. 5. Digital Logic Note: The algebraic symbols used to represent the logic functions are: plus (+) for logic OR, dot (·) for the logic AND, and an overbar for logic NOT, denoting inversion. Intr. to Mechatronics Prepare by: Bereket 18
  • 19. 5. Digital Logic Intr. to Mechatronics Prepare by: Bereket 19
  • 20. 5. Digital Logic Timing diagrams Intr. to Mechatronics Prepare by: Bereket 20
  • 21. 5. Digital Logic Boolean algebra Intr. to Mechatronics Prepare by: Bereket 21
  • 22. 5. Digital Logic Boolean algebra Intr. to Mechatronics Prepare by: Bereket 22
  • 23. 5. Digital Logic Boolean algebra Intr. to Mechatronics Prepare by: Bereket 23
  • 24. 5. Digital Logic Boolean algebra Intr. to Mechatronics Prepare by: Bereket 24
  • 25. 5. Digital Logic Logical Expression Simplification Note: K-map method take it as reading assignment Intr. to Mechatronics Prepare by: Bereket 25
  • 26. 5. Digital Logic Intr. to Mechatronics Prepare by: Bereket 26
  • 27. 5. Digital Logic Intr. to Mechatronics Prepare by: Bereket 27
  • 28. 5. Digital Logic Intr. to Mechatronics Prepare by: Bereket 28
  • 29. 5. Digital Logic • NAND and NOR gates are called universal gate Intr. to Mechatronics Prepare by: Bereket 29
  • 30. 5. Digital Logic • Logic Chips are built from logic gates • Integration levels may be Small(SSI), Medium(MSI), Large(LSI) or Very Large Scale Integration (VLSI). Intr. to Mechatronics Prepare by: Bereket 30
  • 31. 5. Digital Logic Draw the Circuit Diagram Intr. to Mechatronics Prepare by: Bereket 31
  • 32. End of Chapter V Intr. to Mechatronics Prepare by: Bereket 32