Q4 (10 pts): Draw a 4-bit carry-ripple array using full adders. This device is operated on two
operands, (x=x_(3)x_(2)x_(1)x_(0),Y=y_(3)y_(2)y_(1)y_(0)), and generates the sum, S=s_(3)s_(2)s_(1)s_(0) and S=x+Y10 pts(x=x_(3)x_(2)x_(1)x_(0),Y=y_(3)y_(2)y_(1)y_(0)), and generates the result, S=s_(3)s_(2)s_(1)s_(0) and S=x-Y.
Q6 (10 pts): Draw a 4-bit hybrid adde(r)/(s)ubtractor using full adders. This device is operated on
two operands, (x=x_(3)x_(2)x_(1)x_(0),Y=y_(3)y_(2)y_(1)y_(0)), and generates the result, S=s_(3)s_(2)s_(1)s_(0). The
functioanlality is controlled by a control line, Sub (()/())/(b)ar (Add). When the control line is Sub (()/())/(b)ar (Add)=0,
S=x+Y. When the control line is Su(b)/(()/())bar (Add)=1,S=x-Y.
Q7 (20 pts): You need to use the following five-digit adder to compute the result of the
arithmetic operations: 5*x+1 (that is 5 times X plus 1), where x=(x2x1x0) is a three-digit
unsigned binary number. Please draw and draw the adder to implement the arithmetic operation.
You are only allowed to use wires, the three bits in x(x2x1\times 0), and constant values ( 0 or 1 ).
