You are on page 1of 6

Parallel 4-bit Binary

Subtractor (A-B)
2’s complement
GROUP MEMBER

M1 M2 M3 M4

Md Maruf Ramisa Nawar Sadia Akter Joy Tarafder


Kamran Sohag
ID: 2130278 ID: 2120297 ID : 2022719 ID : 2022042
1 Parallel binary subtractor is a combinational digital device capable of subtracting
2nd binary number from 1st binary number.
2  In 2’s complement, a bit is changed to its complement and then a +1 is added to its LSB.

3  For this subtractor, the subtrahend will be changed to its 1’s complement using not gate .
And Cin will be 1.

4 One of the applications are electronic calculators.

 Example :
1 0 0 1 C
Let A(minuend) = 1001(+9) and
B(subtrahend) = 0110(+6) 1 0 0 1 A
B’ = 1001 1 0 0
1 B’
+1
B’ = 1010 (2’s complement) 0 0 0 1 1 S
Full adder used since B has been complemented

A S  Cin = Carry input


B Full Adder  Cout = Carry output

Cin Cout

A B Cin S Cout
Truth Table : 0 1 0 1 0
0 1 1 0 1
0 0 0 0 0
0 0 1 1 0
From the Truth table : 1 1 0 0 1
1 1 1 1 1
S = A  B’  Cin
1 0 0 1 0
Cout = B’. Cin  A.Cin  AB’ 1 0 1 0 1
Circuit of Parallel 4-bit Binary Subtractor (A-B)2’s complement using Full Adder :
 A , B & Cin are the input variables in our circuit.
 Cout & S are the output variables.

A4 B4 A3 B3 A2 B2 A1 B1

C0

A B Cin A B Cin A B Cin A B Cin

Cout  Cout  Cout  Cout 

C4
C3 C2 C1
S4 S3 S2 S1

You might also like