For realizing a binary half-subtractor having two inputs A and B, the current set of logical expression for the outputs D (A minus B) and X (borrow) are 1. The difference output D = A̅B + AB̅ 2. The borrow output B = AB̅ Which of the above statements is/are correct?
For realizing a binary half-subtractor having two inputs A and B, the current set of logical expression for the outputs D (A minus B) and X (borrow) are 1. The difference output D = A̅B + AB̅ 2. The borrow output B = AB̅ Which of the above statements is/are correct? Correct Answer 1 only
Half-subtractor:
[ alt="Digital Electronics 2017 images Q24a" src="//storage.googleapis.com/tb-img/production/16/07/Digital%20Electronics_2017_images_Q24a.PNG">
The Truth Table for a half subtractor is drawn as:
| X | Y |
Difference |
Borrow |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
The Boolean expression for difference can be written as:
N = A̅ B + A B̅
N = A ⊕ B
And the Boolean expression for the borrow can be written as:
M = A̅ B
[ alt="26 June 1" src="//storage.googleapis.com/tb-img/production/19/08/26%20June_1.png" style="width: 160px; height: 46px;">
half adder:
A half adder circuit is basically made up of and a AND gate with XOR gate as shown below.
[ alt="Electronic Mechanic 59 26Q FT Qbank Part 1 Hindi images Q9" src="//storage.googleapis.com/tb-img/production/18/11/Electronic_Mechanic_59_26Q_FT%20Qbank_Part_1_Hindi_images_Q9.PNG">
- A half adder is also known as XOR gate because XOR is applied to both inputs to produce the sum
- Half adder can add only two bits (A and B) and has nothing to do with the carry
- If the input to a half adder has a carry, then it will neglect it and adds only the A and B bits
- That means the binary addition process is not complete and that's why it is called a half adder
Sum (S) = A⊕B, Carry = A.B
|
INPUTS |
OUTPUTS |
||
|
A |
B |
Sum |
CARRY |
|
0 |
0 |
0 |
0 |
|
0 |
1 |
1 |
0 |
|
1 |
0 |
1 |
0 |
|
1 |
1 |
0 |
1 |