Mathematical Redstone Circuits 6: Instant Carry Addition

preview_player
Показать описание
In this video we talk about how Instant Carry Addition works, and some of the considerations you need if you want to make one
Рекомендации по теме
Комментарии
Автор

You're absolutely right, this is using XNOR and AND gate instead. It might seem a bit odd at first, but you can still make adders with XNORs rather than XORs. The reason is you have 2 of them: 1 at the start, and 1 after the carry logic. If you put 2 XNOR's in a row, the end result of that is XOR truth table. The reason I went with XNOR is partially to show you can, and partially because some things are easier with XNORs.

bennyscube
Автор

The glitch mentioned at 5:48 is even weirder now. The piston won't actually retrace, but for one frame appears to be retracted. Even weirder is the fact that it will still happen, but only the inputs turn on for exactly two ticks.

MrGquad
Автор

I'm doing this in 1.5.2 and the glitch at 6:00 doesn't happen in the first place(I don't even use the glowstone fix).
PS:I'm facing north.

andreimaria
Автор

I took away the carry and it still works

mofe
Автор

I've checked the two half adders, this one has the top output on when both levers are off, no output on when one of the levers is on, and both outputs when both inputs are on. Surely it should be both out's off when both inputs off, 1 output on - the carry - when both inputs are on? The previous half adder used an XOR gate and an AND gate - this one seems to use an XNOR gate and an AND gate.

Axolotl
Автор

so will we need this in a computer or can we use a different type of adder

OsuFan
Автор

Of course not! You can use absolutely any way you please to represent numbers. In fact, you can even come up with your own way if you'd like. The reason binary is so widely used is because it's fairly efficient in use of wires, and the logic is fairly simple. However, there's no reason why you can't use another way if you'd prefer. Common alternatives are BCD, unary, decimal, hexadecimal, and hex

bennyscube
Автор

i have made an adder that uses only base 10. granted that it is slow, the only logic gate used is alot of "AND" gates. And the calculator is gigantic.

WildEngineering
Автор

You can now fix this piston pulsing by using anti-burnout logic!

vinigretzky
Автор

Of course not, you could use any type of adder you like. You could even invent your own type if you prefer, the only requirement is that it must add binary numbers ;)

bennyscube
Автор

And benny its happening in 2 ticks becuase ur carry over is 2 ticks and that last xnor is glitching to be instant

oddball
Автор

The bug at 6:40 ish has been fixed and my xnor is facing south

samuelhulme
Автор

Why don't you just make it so the inputs don't come in at the exact same time. The top inputs can come in one tick after the other

familiarfriend
Автор

Really? Why's that? Did I miss something?

bennyscube
Автор

did benny die or something? Because he hasn't made any videos in like 3 years

ryandupuis