Q.What is a half subtractor? Explain its working with a truth table, logic diagram and timing diagram.
[!TLDR]
Half subtractor: difference , borrow ; it subtracts two single bits.
Definition: A half subtractor is a combinational logic circuit that performs the subtraction of two single bits, the minuend and the subtrahend . It produces two outputs — the Difference and the Borrow . It is called a half subtractor because it does not take into account a borrow from a previous (lower-order) stage.
Truth table:
| A | B | D (Difference) | Bₒ (Borrow) |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
Deriving the expressions: From the difference column, . From the borrow column, a borrow occurs only in the row , so (a borrow is needed when the minuend is smaller than the subtrahend).
Logic diagram: an X-OR gate with inputs gives the Difference ; an AND gate whose input is passed through a NOT gate (i.e. inputs and ) gives the Borrow .
Timing diagram: driving through the sequence 00, 01, 10, 11, the Difference waveform is HIGH during 01 and 10 (inputs unequal), and the Borrow waveform is HIGH only during 01 (when ).
[!ANSWER]
A half subtractor subtracts bit from bit , giving from an X-OR gate and from an AND gate with inverted; the borrow is 1 only for , as shown by the truth table, logic diagram and timing diagram.
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.