The logic diagram shown in the following figure performs the function of a very common arithmetic building block. Identify the logic function.
(a) Half-adder (b) Full-adder
(c) Half-subtractor (d) Multiplier
Writing Boolean expressions for X and Y, we get
\begin{gathered} X=\overline{\overline{\bar{A} B} \cdot \overline{A \bar{B}}}=\overline{\overline{\bar{A} B}}+\overline{\overline{A \bar{B}}}=\bar{A} B+A \bar{B} \\ Y=\overline{\bar{A}+\bar{B}}=A B \end{gathered}
The a ove Boolean functions, X and Y, are those of a half-adder. X and Y represent SUM and CARRY outputs, respectively.
Ans. (a)