Friday, 17 February 2012

Subtractors


Half subtractor:
Half subtractor, subtracts two bits and produces difference and borrow as outputs. Below table shows the truth table
Boolean equations for half subtractor are
Diff= A XOR B
Borrow= A’B
Full Subtractor:
Full subtractor, subtracts three bits and produces diff, and borrow outputs. Below table shows the truth table for it.
Boolean equations for it are
Diff = A XOR B XOR BIN
Borrow = A’.BIN+A’.B+B.BIN

Back                                          Contents                                                    Next

No comments:

Post a Comment