Experiment #7 (Khurram Shahzad-FA18-BSE-019
Experiment #7 (Khurram Shahzad-FA18-BSE-019
Experiment #7 (Khurram Shahzad-FA18-BSE-019
7.1 Aim:
To realize the working of Half Subtractor and Full Subtractor by using Basic gates and NAND gates.
5. Connecting wires
7.4 Theory:
Half Subtractor: Subtracting a single-bit binary value B from another A (i.e. A B) produces a difference bit
D and borrow bit B-out. This is called a half Subtractor. The Boolean functions describing the half-Subtractor
are:
D = A XOR B Br = A’B
Full Subtractor: Subtracting two single-bit binary values, B, Cin from a single-bit value A produces a
difference bit ‘D’ and borrows out ‘Br’ bit. This is called full subtraction. The Boolean functions describing
the full-Subtractor are:
Procedure:
1. Check the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Verify the Truth Table and observe the outputs.
Half Subtractor:
Inputs Outputs
A B D Br
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Full Subtractor:
Inputs Output
B
A B C D r
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
3. Draw and Implement half Subtractor and full Subtractor using NAND Gate?