Friday 11 December 2015

Q7,p2,j15. Consider a full adder with the following input values:

1) x=1,y=0 and c1(input carry)=0
2) x=0,y=1 and c1=1.
Compute the value of S(sum) and c (carry out) for the above input values.

A) S=1 , C=0  and S=0 ,C=1.
B)S=0, C=0 and S=1 ,C=1.
C)S=1,C=1 and S=0 ,C=0
D)S=0,C=1 and S=1 ,C=0.

Answer. A.

Explanation.
Assume it, that it is written like (Carry,Sum.) in binary that is weighted.
X          Y  Carry(in)   C Sum
0+         0+0= 0           0   0.
0+         0+1=   1         0   1.
0+          1+0=  1          0   1.
0+           1+1=(2)        1    0.
1+           0+0=1=        0    1
1+           0+1=(2)       1    0.
1+           1+0=(2)       1    0.
1+           1+1=(3)       1     1.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.