Hi, In the book "Digital signal processing with field programmable gate arrays" (1st edition) written by U.Meyer Baese, I don't understand one sentence. On page 45 about binary adders, it gives:
s_k=x_k XOR y_k XOR c_k;
c_k+1 = (x_k . y_k) + (x_k . c_k) + (y_k . c_k)
In the case of a 2C adder, the LSB can be reduced to a half adder because the carry input is zero.
I don't understand the last sentence. For a not 2C adder, I think the LSB can also be reduced to a half adder because the carry input is zero. Am I wrong? Where is wrong?
Another question, although I did some logic in my work, I was given a question "What is the 2's complement of 011 (binary)? For my deep memory, my answer is 101 (binary). I came this from:
- not 011 => 100;
- increase 1 => 101. Is it correct?
Thank you very much.