Post on 19-May-2015
description
transcript
M SHARJEEL MUGHAL
B
S(HONS)CS A
R
OLL NO F-12-1057
TOPICS
1
GATES
2
HALF ADDER
3
FULL EDDER
GATES
A
ND GATE
O
R GATE
N
OT GATE
N
OR GATE
N
AND GATE
X
OR GATE
LOGIC GATES
T
he logic gate is an
electronic circuit that
operates on one or more
input signal to produce
standard output signal.
AND GATEG
raphic Symbol
A
lgebraic Function
T
ruth Table
A
nd gates is an electronic circuit that
generate
an output signal of 1,
only if all
input signals are also 1
OR GATE
Graphic Symbol
Algebraic function
Truth Table
OR gate is an electronic circuit
that generates an output signal of
1,if any of the input signal is also 1
NOT GATEG
raphic table
A
lgebraic Symbol
T
ruth Table
N
OT gate is an electronic circuit that
generat
e the reverse of the input signal knows
as not
or inverter
NOR GATEG
raphic Symbol
A
lgebraic Symbol
T
ruth Table
T
he output of a NOR gate will be 1
only when
all input are 0 and it will be 0 if any
input is a
1.
NAND GATE
G
raphic symbol
A
lgebraic Function
T
ruth Table
T
he output of NAND gate will be 1
if
any one of the input is 0, and it will be 0 only when all
input are 1
XOR GATE G
raphic Symbol
A
lgebraic Function
T
ruth Table
T
he output of XOR gate will be 0 when
the two
input is same and it will be 1 if any
one is 0.
ADDER
T
here are two types of ADDER
H
ALF ADDER
F
ULL ADDER
HALF EDDER
The input produce the sum and carry bits. Let A and B be the two input and S (for sum) and C (for carry) be the two output.
S=A’.B+A.B’C=AB
FULL ADDER
A FULL ADDER forms the Arithmetic sum of three input
bits. And in the output one is S
(for sum) and C (for carry).S = A’.B’.D+A’.B.D’+A.B’.D’+A.B.DC = A.B+A.D+B.D