Gates and Logic: From switches to Transistors , Logic Gates and Logic Circuits
Logic Gates Ppt
description
Transcript of Logic Gates Ppt
Logic GatesLogic Gates
AND Gate
OR Gate
XOR Gate
BUFFER Gate
NAND Gate
NOR Gate
NOT Gate
XNOR Gate
SUMMARY
TRUTH TABLE
AND GateAND Gate
If both of the INPUT is high then the OUTPUT is high.
AA BB YY
0 0 0
0 1 0
1 0 0
1 1 1
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A.B
TRUTH TABLE
OR GateOR Gate
If at least one of the INPUT is high then the OUTPUT is high.
AA BB YY
0 0 0
0 1 1
1 0 1
1 1 1
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A+B
A
Y=A INPUTINPUT OUTPUTOUTPUT
AA YY
1
0
0
1
TRUTH TABLE
NOT GateNOT Gate
If INPUT is high then the OUTPUT is low .If INPUT is low then the OUTPUT is high.
A
Y=A INPUTINPUT OUTPUTOUTPUT
AA YY
1
0
1
0
TRUTH TABLE
BUFFER GateBUFFER Gate
If INPUT is high then the OUTPUT is high .If INPUT is low then the OUTPUT is low.
TRUTH TABLE
NAND GateNAND Gate
If at least one of the INPUT is low then the OUTPUT is high.
AA BB YY
0 0 1
0 1 1
1 0 1
1 1 0
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A.B
TRUTH TABLE
NOR GateNOR Gate
If both of the INPUTs are low then the OUTPUT is high.
AA BB YY
0 0 1
0 1 0
1 0 0
1 1 0
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A+B
TRUTH TABLE
XOR GateXOR Gate
If all the INPUTs aren’t equal then the OUTPUT is high.
AA BB YY
0 0 0
0 1 1
1 0 1
1 1 0
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A+B
TRUTH TABLE
XNOR GateXNOR Gate
If all the INPUTs are equal then the OUTPUT is high.
AA BB YY
0 0 1
0 1 0
1 0 0
1 1 1
INPUTINPUT OUTPOUTPUTUT
A
B
Y=A+B
SUMMARYSUMMARYAND GateAND Gate
Y=A.B Y=A.B NAND GateNAND Gate
Y=A.BY=A.BXOR GateXOR Gate
Y=A+BY=A+B
OR GateOR Gate
Y=A+BY=A+BNOR GateNOR Gate
Y=A+BY=A+BXNOR GateXNOR Gate
Y=A+BY=A+B
BUFFER GateBUFFER Gate
Y=AY=ANOT GateNOT Gate
Y=AY=AWhere A & B are INPUTs Where A & B are INPUTs
and Y is OUTPUT. and Y is OUTPUT.
THE ENDTHE END
Designed by Rasika