0% found this document useful (0 votes)
40 views

Half Subtractor

A half subtractor is a combinational logic circuit with 2 inputs (A and B) and 2 outputs (difference and borrow) that is used to subtract two single bit numbers. It operates based on a truth table and diagram. The difference output is the XOR of inputs A and B, and the borrow output is the AND of the complement of A and B.

Uploaded by

Naveed UL Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Half Subtractor

A half subtractor is a combinational logic circuit with 2 inputs (A and B) and 2 outputs (difference and borrow) that is used to subtract two single bit numbers. It operates based on a truth table and diagram. The difference output is the XOR of inputs A and B, and the borrow output is the AND of the complement of A and B.

Uploaded by

Naveed UL Hassan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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