(a) Design a half-subtractor circuit with inputs x and y and outputs Diff and B out . The circuit subtracts the bits x – y and places the difference in D and the borrow in B out .
(b) Design a full-subtractor circuit with three inputs x , y , B in and two outputs Diff and B out . The circuit subtracts x – y – B in , where B in is the input borrow, B out is the output borrow, and Diff is the difference.

Respuesta :

Answer:

See the attachment

Explanation:

A half subtractor circuit is made up of on NOT gate, one XOR and one AND gate.

A full subtractor is made up of two half subractor with their outputs in an OR gate for Bout as shown in attachment

Ver imagen hafsaabdulhai