Half Subtractor

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

0 1 2 3 4 5 6 7 8

HALF SUBTRACTOR
A A
Half Subtractor is a combinational logic circuit.
It is used for the purpose of subtracting two single bit numbers.
It contains 2 inputs and 2 outputs (difference and borrow).

B
Truth Table Diagram X1
B

A B Diff. Borrow U1 U5 Diff 2.5 V


0 0 0 0 A B
0
0 1 1 1
Key = A
1 0 1 0 XOR2
C C
1 1 0 0 U3 X2

NOT U7 Borrow 2.5 V


U2 A' A’.B
1
D
Key = B AND2 D
Equations A'B

Diff= A’.B+A.B’=A B
Borrow= A’.B

E E

Block diagram of Half Subtractor

F F

G G

0 1 2 3 4 5 6 7 8

You might also like