Question: ( 2 marks ) Recall that in class, we discussed the boolean half - adder. It takes two binary variables ( bits ) x 1

(2 marks) Recall that in class, we discussed the boolean half-adder. It takes two binary variables
(bits)x1 and x2 as input, and outputs two bits y1 and y2 such that y2y1=x1+x2. Recall that
the notation y2y1 refers to concatenation in this context. In lecture, we referred to y1 as the sum
bit and y2 as the carry bit, but we will just use generic labels for them here.
Suppose you want to build a double half-adder that operates on four input bits instead of two.
This adder takes four bits x1,x2,x3, and x4 as input, and outputs three bits y1,y2, and y3 such
that y3y2y1=x4x3+x2x1. Give boolean formulas for each of the bits y1,y2 and y3. You may
use AND (??), OR (vv),NOT(not) and XOR (o+) clauses in your responses.
Show your work. Answers consisting of only formulas without justification will not be marked.
 (2 marks) Recall that in class, we discussed the boolean half-adder.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!