Let A be a three-bit unsigned number. Use a seven-bit adder (andNOT gates, as necessary) to design a circuit that calculates thefollowing operations. Note that the output may be assumed asunsigned, unless it is possible for the operation to produce anegative answer, in which case, the output must be correct in 2’scomplement:
W = 3A + 1
X = 2A – 17
Y = 40A + 6
Z = 32 – 4A