Undertsand this truth table :
A |
B |
A'+B' .....Y(say) |
B' |
A Ex-Or B' |
(A Ex-Or B')' .....X(say) |
Y |
X |
Y' |
X' |
f1=X Ex-Or Y' |
f2=(Y'+X')' |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
X represnts Sum output of Half adder of first level of gates.
F2 represents Subtract output of Half subtractor of second level of gates.
Hence half adder followed by half subtractor.