Ripple-Carry Adder for 2s complement

  • Thread starter Thread starter divB
  • Start date Start date
  • Tags Tags
    Adder
Click For Summary
SUMMARY

The discussion centers on the design of a 4-bit Ripple-Carry Adder for adding two 4-bit unsigned integers A and B. The original poster questions whether modifications are necessary when the inputs are in 2's complement format. It is concluded that while the basic structure of the Ripple-Carry Adder remains unchanged, attention must be paid to the handling of carry bits, particularly discarding the carry from the last two stages if they generate a carry output.

PREREQUISITES
  • Understanding of Ripple-Carry Adder architecture
  • Familiarity with Full-Adder circuits
  • Knowledge of 2's complement representation
  • Basic digital logic design principles
NEXT STEPS
  • Research modifications for Ripple-Carry Adders in 2's complement operations
  • Explore the implications of carry handling in digital circuits
  • Learn about alternative adder designs, such as Carry-Lookahead Adders
  • Study the impact of bit-width on adder performance and design
USEFUL FOR

Digital circuit designers, electrical engineering students, and anyone interested in binary arithmetic and adder design principles.

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 ...
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
1
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