Ripple-Carry Adder for 2s complement

  • Thread starter Thread starter divB
  • Start date Start date
  • Tags Tags
    Adder
Click For Summary
A 4-bit Ripple-Carry adder has been designed for adding two unsigned integers A and B. The discussion revolves around whether modifications are necessary when A and B are represented in 2's complement. It is suggested that the circuit remains unchanged due to the inherent advantages of 2's complement representation. However, a clarification is made that adjustments are needed regarding carry handling, specifically that the carry should be discarded when the last two stages produce a carry. The conversation highlights the importance of understanding carry management in 2's complement addition.
divB
Messages
85
Reaction score
0
Hi,

I have designed a simple 4 bit adder for adding two 4-bit unsigned integers A and B.
The adder consists of a chain of 4 Full-Adders (Ripple-Carry adder).

I am wondering if I need to change the circuit when A and B are in 2s complement.

I don't think so. Isn't the advantage of 2s complement that the circuit does not change?

Thanks
 
Engineering news on Phys.org
Sorry, I think I need to modify it regarding the carry: The carry must be discarded when the last 2 stages have a carry ...
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
19K
  • · Replies 2 ·
Replies
2
Views
3K