100% found this document useful (1 vote)
163 views6 pages

Half and Full Subtractor

The document is a lab manual from the Department of Physics at IIT Roorkee about implementing half and full subtractors using logic gates. It defines half and full subtraction. For a half subtractor, the difference bit D is equal to A XOR B and the borrow bit Br is equal to the complement of A AND B. For a full subtractor, D is equal to (A XOR B) XOR Cin and Br is equal to the complement of A AND B plus the complement of A AND Cin plus B AND Cin. The manual describes the required components, theory, procedure to build and test the circuits, diagrams of the half and full subtractor circuits, and their truth tables. It concludes that the half

Uploaded by

R.J.K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
163 views6 pages

Half and Full Subtractor

The document is a lab manual from the Department of Physics at IIT Roorkee about implementing half and full subtractors using logic gates. It defines half and full subtraction. For a half subtractor, the difference bit D is equal to A XOR B and the borrow bit Br is equal to the complement of A AND B. For a full subtractor, D is equal to (A XOR B) XOR Cin and Br is equal to the complement of A AND B plus the complement of A AND Cin plus B AND Cin. The manual describes the required components, theory, procedure to build and test the circuits, diagrams of the half and full subtractor circuits, and their truth tables. It concludes that the half

Uploaded by

R.J.K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

INDIAN INSTITUTE OF TECHNOLOGY

ROORKEE

DEPARTMENT OF PHYSICS

LAB MANUAL

Half and Full subtractor


AIM: - Implementation of half subtractor and Full subtractor using logic
gates.

APPARATUS REQUIRED

1.IC 7486, IC 7432, IC 7408, IC 7404, IC 7400.


2. BreadBoard.

THEORY:

HALF SUBTRACTOR: Subtracting a single-bit binary value B from


another A (i.e. A -B) produces a difference bit D and a borrow out
bit B-out. This operation is called half subtraction and the circuit to
realize it is called a half subtractor. The Boolean functions
describing the half Subtractor are:

D =A ⊕ B Br = Α̅ B

FULL SUBTRACTOR: Subtracting two single-bit binary values, B, Cin


from a single-bit value A produces a difference bit D and a borrow
out Br bit. This is called full subtraction. The Boolean functions
describing the full-subtracter are:

D = (x ⊕ y) ⊕ Bin Br = Α̅B + Α̅ (Bin) + B (Bin)


Procedure: -

1. Verify the gates.


2. Make the connections as per the circuit diagram.
3. Switch on VCC and apply various combinations of input
according to the truth table.
4. Note down the output readings for half and full
subtractor difference and borrow bit for different
combinations of inputs.

Using X – OR and Basic Gates (a)Half Subtractor

Full Subtractor
Half Subtractor Full Subtractor
A B Bin D Br
A B D Br
0 0 0
0 0 0 0 1
0 1 0
0 1 0 1 1
1 0 0
1 0
1 0 1

1 1 1 1 0
1 1 1

Conclusion: -

Half subtractor and full subtractor are constructed and their truth tables are
Verified.

You might also like