Professional Documents
Culture Documents
Experiment-7 Design A Binary Subtractor Circuit Half and Full Subtractor 7-1 Object
Experiment-7 Design A Binary Subtractor Circuit Half and Full Subtractor 7-1 Object
Experiment-7
Design a binary Subtractor Circuit
Half and Full Subtractor
7-1 Object:
To design and implement logic circuit that perform binary subtraction.
7-2 Theory:
There are two types of subtractor circuits:
The half subtarctor or accepts two binary digital as input and produce two
binary digits as outputs. A difference bit (D) and the logic symbol of half subtractor or
is shown in figure (9-1).
Half subtractor circuit is used to subtract two digits only, as shown in table (7-
1). Where D is the difference between A and B (D=A-B), and B is the bowrow bit
from the next significant bit in the number (A).
A B D B
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Table (7.1)
From above Boolean expression (D) and (B) can be construct a half-subtractor
logic circuit, as shown in figure (7-2).
د.م
Middle Technical University Digital Electronic Lab.
Electrical Engineering Technical College First Stage
Electrical Power Technical Engineering Dept. Mohammed D. Altamemi
A B C D B
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
Table (7-2)
From table (7-2) we obtain the boot can expression for D and B:
د.م
Middle Technical University Digital Electronic Lab.
Electrical Engineering Technical College First Stage
Electrical Power Technical Engineering Dept. Mohammed D. Altamemi
Than the logic diagram for full subtractor can be drawn as shown in figure (7-4)
from equations (7.3) and (7.4).
7-3 Procedures:
We will use TTL technology gates to form the half and full subtractor.
1. Use the following gates (NOT, AND, XOR) to build a half subtractor circuit
shown in figure (7-5).
2. Use any two sources from source circuit (f6 to f13) to supply the half subtractor
circuit. And then full in the table (7-3).
A B D B
0 0
0 1
1 0
1 1
Table (7-3)
د.م
Middle Technical University Digital Electronic Lab.
Electrical Engineering Technical College First Stage
Electrical Power Technical Engineering Dept. Mohammed D. Altamemi
3. Now we will use two half subtractor to build a full subtractor, and the circuit will
be as in figure (7-6) below.
Figure (7-6) implement a full subtractor circuit by use two half subtractors by
Multisim
4. Use the following logic gates (NOT, XOR, OR, AND) to build a full subtractor
circuit by use two half subtractors.
5. Use any three sources to supply the full subtractor circuit, then fill in the table (7-
4).
A B C D B
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
Table (7-4)
7-4 Discussion:
1. Design a logic circuit that subtract 4-bit binary number from other 4-bit binary
number.
2. Design a logic subtractor to subtract (0101)2 from (1001)2.
3. Design a half subtractor by using the following gates only (NOT, AND, OR).
د.م