You are on page 1of 2

EXPERIMENT-4

AIM:- Design and realize half subtractor, full subtractor.

Apparatus:- Simulator and logic gates

PROCEDUE:- Working of subtractors

THEORY:
HALF subrtactor

Half subtractor is a combinational circuit which consists of two binary input


variables called minuend and subtrahend, and two binary output variables called
difference and borrow. In the two bit subtraction result, the lower significant bit is
called as difference and higher significant bit is called as borrow. The truth table of
the subtractor is given below in that the difference becomes logic ‘1’ when both
inputs are different each other and it is equal to logic ‘0’ when both inputs are equal.
And borrow is equal to logic ‘1’ when minuend is smaller than subtrahend.

A
B
DIFFERENCE = A B

BORROW = A’B

TRUTH TABLE
A B BORROW DIFFERENCE
0 0 0 0
0 1 1 1
1 0 0 1
1 1 0 0

FULL subrtactor
Full subtractor is a combinational circuit which consists of three binary input
variables called minuend and subtrahend, and two binary output variables called
difference and borrow out. In the subtraction result, the lower significant bit is called
as difference and the higher significant bit is called as barrow out. The truth table of
the full subtractor describes all the eight possible input variations. The full subtractor
results the outputs are equal to logic ‘0’ when all the applied inputs are equal to logic
‘0’.

A
B

Bout
DIFFERENCE = A B Bin

(Bout) = AB + (A B) Bin

TRUTH TABLE
input output
A B Bin Bout D
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 1 0
1 0 0 0 1
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1

You might also like