söndag 21 november 2010

Problem with the adder

I'm having some troubles with the adder that I am trying to understand how they work. I've read the wiki, which doesn't explain adders that well in my opinion. And also used the designs from the wiki. The problem is that I don't get the results that I expected, hehe.

This is the truth table that I'd expect to get.

InputsOutputs
ABCinCoutS
00000
10001
01001
11010
00101
10110
01110
11111

Instead I got something like this when I built the adder myself in the redstonesimulator.

InputsOutputs
ABCinCoutS
00000
10011
01001
11000
00111
10110
01100
11111

Which differes from what I thought on many combinations.

Inga kommentarer:

Skicka en kommentar