Full Subtractor
Full Subtractor
From the above truth table, we can find the boolean expression.
D = A ⊕ B ⊕ Bin
Bout = A' Bin + A' B + B Bin
From the equation we can draw the Full-subtractor circuit as show
n in the figure 6.
Full subtractors are used in ALU (Arithmetic Logic Unit) in computers CPUs.
Full subtractors are extensively used to perform arithmetical operations like s
ubtraction in electronic calculators and many other digital devices.
Full subtractors are used in different microcontrollers for arithmetic subtracti
on.
They are used in timers and program counters (PC).
Full subtractors are also used in processors to compute addresses, tables, etc.
Full subtractors are also used in DSP (Digital Signal Processing) and networki
ng based systems.
The Final Borrow out represents the most significant bit or MSB.
If we see the actual circuit inside the full Subtractor, we will see two Half S
ubtractor using XOR gate and NAND gate with an additional OR gate.
In the above image, instead of block diagram, actual symbols are shown. I
n previous half-Subtractor tutorial, we had seen the truth table of two logi
c gates which has two input options, XOR and NAND gates. Here an extra
gate is added in the circuitry, OR gate. This circuit is very similar with full-
adder circuit without the NOT gate.
As Full Subtractor circuit deal with three inputs, the Truth table also upda
ted with three input columns and two output columns.
0 1 0 1 0
0 0 1 1 1
0 1 1 0 0
1 0 0 1 1
1 1 0 0 0
1 0 1 0 1
1 1 1 1 1
We can also express the full Subtractor circuit construction in Boolean ex
pression.
For the case of DIFF, We first XOR the A and B input then we again XOR the
output with Borrow in. So, the Diff is (A XOR B) XOR Borrow in.We can also
express it with:
(A ⊕ B) ⊕ Borrow in.
Here is the advantage of full Subtractor circuit. We can cascade single bit f
ull Subtractor circuits and could subtract two multiple bit binary numbers.
In such cases a cascaded full-Adder circuit can be used with NOT gates. We
could use 2’s compliment method and it is popular method to convert a f
ull adder circuit to a full Subtractor. In such case, we generally invert the L
ogic of subtrahend inputs of the full adder by inverter or NOT gate. By addi
ng this non inverted input (Minuend) and Inverted Input (Subtrahend), whi
le the carry input (LSB) of the full adder circuit is in Logic High or 1, we sub
tract those two binaries in 2’s complement method. The output from the
Full-adder (which is now full Subtractor) is the Diff bit and if we invert the c
arry out we will get the Borrow bit or MSB. We can actually construct the ci
rcuit and observe the output.
We will use a Full Adder logic chip 74LS283N and NOT gate IC 74LS04. Com
ponents used-