Docsity

Logic Gates - Digital Logic Design - Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Logic Gates - Digital Logic Design - Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Lecture No. 5

Logic Gates

Recap

 Octal Number System

 Alternate Representations

 Excess Code

 BCD Code

 Gray Code

 Alphanumeric Code (ASCII)

 Error Detection using Parity Bit

AND Gate  1 output  2 inputs  3 inputs  4 inputs  Multiple inputs 0 & 0 0

AND Gate function  Logical Multiplication function Input Output A B F 0 0 0 0 1 0 1 0 0 1 1 1 F = A • B F = A •B•C•....• N

OR Gate  1 output  2 inputs  3 inputs  4 inputs  Multiple inputs 0 >= 0 0

OR Gate function  Boolean Add function Input Output A B F 0 0 0 0 1 1 1 0 1 1 1 1 F = A + B F = A + B + C +..+ N

NOT Gate  1 input  1 output

NOT Gate function  Invert function Input Output A F 0 1 1 0 F = A

AND Gate Applications  Enable/Disable Device  Counter counts when it receives pulses U/D Reset B 1 B 8 Carry out ENB Counter A B Clock Pulses Enable Disable

OR Gate Applications  Car door open alarm Alarm

Front left door

Rear left door

Front right door

Rear right door

Alternate Representations

NAND Gate  1 output  2 inputs  3 inputs  4 inputs  Multiple inputs 0 & 0 0

NAND Gate Timing Diagram t 0 t 1 t 2 t 3 t 4 t 5 t (^6) A B F

NAND Universal Gate Input Output A B F 0 0 1 0 1 1 1 0 1 1 1 0