Professional Documents
Culture Documents
EX-OR Function
xy = xy + xy
EX-NOR Function
(xy) = xy + xy
A
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
Y
0
1
1
0
1
0
0
1
3-input EX-OR
Y = A B C
= ABC+ABC
ABC +ABC
= (1,2,4,7)
- ODD Function
Odd Function
F = A B C
Even Function
F = (A B C)
1
1
1
1
1
1
1
1
F=ABCD
- ODD FUNCTION
F = (A B C D)
- EVEN FUNCTION
Parity Generator
Parity checker
COMBINATIONAL LOGIC
HALF ADDER
FULL ADDER
Binary Adder/Subtractors
The subtraction A-B can be performed by
taking the 2's complement of B and adding to
A.
The 2's complement of B can be obtained by
complementing B and adding one to the result.
A-B = A + 2C(B)
= A + 1C(B) + 1
= A + B + 1
XOR
S=0
B3
B2
B1
B0
0
S=1
B3
B2
B1
B0
1
Decimal Adders
-Is Binary sum less than or equal to 1001