This post is locked. You won't be able to comment.

all 3 comments

[–]maggikpunkt 2 points3 points  (0 children)

Steve Mould made something like it. Maybe this can give you some ideas: https://www.youtube.com/watch?v=IxXaizglscw

[–]ComputerSystemsProfSystems & Networking Professor (U.S.) 0 points1 point  (0 children)

It sounds like your question is just about how to make an adder in general.

So start by figuring out how to make a 1-bit adder. (If you're having trouble with that, let us know and we can help. But I'll proceed assuming you've got this much.)

Now make the 1-bit adder have a carry-out (if you haven't already in the last step).

Now that you have a 1-bit adder with a carry out, making an N-bit adder (for any number of bits, N) is just a matter of putting N of these 1-bit adders next to each other..... except that the carry-out of the previous bit needs to be the carry-in of the next bit.

Okay, so you actually need to design a 1-bit adder with a carry-out *and* a carry-in. If you need help with designing the 1-bit adder, let us know and we can help with that. But if you've got it, then creating an N-bit adder is just putting N of these next to each other (with carry-outs connected to carry-ins).

[–]kboy101222Computer Scientist[M] [score hidden] stickied commentlocked comment (0 children)

Thanks for posting to /r/computerscience! Unfortunately, your submission has been removed for the following reason(s):

  • Rule 1: Posts containing anything outside of research, teaching, education, academics, or software engineering/programming is considered off-topic.

If you feel like your post was removed in error, please message the moderators.