The half subtractor is also a building block for subtracting two binary numbers. It has two inputs and two outputs. This circuit is used to subtract two single bit binary numbers A and B. The **'diff**' and **'borrow'** are two output states of the half subtractor.

The SOP form of the **Diff** and **Borrow** is as follows:

Diff= A'B+AB'

Borrow = A'B

*formed using simulator provided.

The Half Subtractor is used to subtract only two numbers. To overcome this problem, a full subtractor was designed. The full subtractor is used to subtract three numbers A, B, and C, which are minuend, subtrahend, and borrow, respectively. The full subtractor has three input states and two output states i.e., diff and borrow.

The SOP form can be obtained with the help of K-map as:-

**Diff=xy' z'+x' y' z+xyz+x'yz'**

**Borrow=x' z+x' y+yz**

*formed using simulator provided.

Implement Half Adder, Full Adder, Half Subtractor and Full Subtractor.

Half Adder, Full Adder, Half Subtractor, Full Subtractor.

Implementation of a Half Subtractor using Basic Gates

Implementation a Full subtractor using 2 Half Subtractors

Half Adder, Half Subtractor, Full Adder, Full Subtractor with its NAND implementation.

Implement and verify Combinational Circuits