What for, might you be asking? I haven't seen a thread like it, and we can easily compact a logic gate if we know where inversion takes place. With that, let us begin!
OR Gate
A OR B
Bet you didn't see that coming.
NOT Gate
NOT A
That took me ages to come up with.
NOR Gate
A NOR B
I should save the witty comments for when I'm not being sarcastic.
AND Gate
(NOT A) NOR (NOT :cool.gif:
We're getting a little complex.
NAND Gate
(NOT A) OR (NOT :cool.gif:
This next one is a doozy.
XOR Gate
(NOT A NOR :cool.gif: OR (A NOR NOT :cool.gif:
I looked into it, and it is the simplest with just OR, NOT and NOR.
XNOR Gate
(NOT A NOR :cool.gif: NOR (A NOR NOT :cool.gif:
All we did was change that OR to a NOR. Expected.
A IMPLIES B
NOT A OR B
In other words, IMPLIES Gate.
A DOESN'T IMPLY B
NOT A NOR B
Just an inverted IMPLIES Gate.
Edit: Added in parentheses
Edit: Fixed A IMPLIES B and A DOESN'T IMPLY B. Thanks Zhul!
This concludes my post for now.
Remember to tell me if something is more simple than I put it as.
I purposely used "and" for piston circuits. The 3x3 xor and xnor are based on these. (I think.)
I think the logic circuits have already arrived at their most compact form. I don't think they're gonna get smaller (standard logic gates, not vertical or specially made)
What for, might you be asking? I haven't seen a thread like it, and we can easily compact a logic gate if we know where inversion takes place. With that, let us begin!
OR Gate
A OR B
Bet you didn't see that coming.
NOT Gate
NOT A
That took me ages to come up with.
NOR Gate
A NOR B
I should save the witty comments for when I'm not being sarcastic.
AND Gate
NOT A NOR NOT B
We're getting a little complex.
NAND Gate
NOT A OR NOT B
This next one is a doozy.
XOR Gate
NOT A NOR B OR A NOR NOT B
I believe that's a bit more complex than it really is, I'll look into that.
XNOR Gate
NOT A NOR B NOR A NOR NOT B
All we did was change that OR to a NOR. Expected.
A IMPLIES B
A OR NOT B
In other words, IMPLIES Gate.
A DOESN'T IMPLY B
A NOR NOT B
Just an inverted IMPLIES Gate.
This concludes my post for now.
Remember to tell me if something is more simple than I put it as.
You're really close, but let me correct a few things.
AND GATE
A AND B
NAND GATE
A NAND B
XOR GATE
1. A exclusive OR B
2. A AND NOT B OR NOT A AND B
XNOR GATE
1. A exclusive NOR B
2. A AND B OR NOT A AND NOT B
They are, but we only got OR (several power sources connected to one wire/block) and NOT (redstone torches) in Minecraft (again ignoring pistons). So writing everything using only these two tells you directly how to implement gates in redstone.
So with this point, just use one of the digital universal gates (NOR) in order to explain these outputs.
We could do that, but only if you tell me which (vanilla Minecraft) single block behaves as NOR :wink.gif:
Just take a single gate OR, and invert the output logic levels so that it inverts into a NOR. Or you can invert the logic levels of the inputs so it acts as a NAND. Or you can invert both logic levels of inputs and outputs so it acts like an AND.
They are, but we only got OR (several power sources connected to one wire/block) and NOT (redstone torches) in Minecraft (again ignoring pistons). So writing everything using only these two tells you directly how to implement gates in redstone.
COUGHtruthtableCOUGH
Rollback Post to RevisionRollBack
If you can't count up to 2,047 on your fingers, you're an idiot.
OR Gate
Bet you didn't see that coming.
NOT Gate
That took me ages to come up with.
NOR Gate
I should save the witty comments for when I'm not being sarcastic.
AND Gate
We're getting a little complex.
NAND Gate
This next one is a doozy.
XOR Gate
I looked into it, and it is the simplest with just OR, NOT and NOR.
XNOR Gate
All we did was change that OR to a NOR. Expected.
A IMPLIES B
In other words, IMPLIES Gate.
A DOESN'T IMPLY B
Just an inverted IMPLIES Gate.
Edit: Added in parentheses
Edit: Fixed A IMPLIES B and A DOESN'T IMPLY B. Thanks Zhul!
This concludes my post for now.
Remember to tell me if something is more simple than I put it as.
Btw by common sense XOR is
and XNOR is
Interested in pro redstone? Check out ORE at openredstone.org
I think the logic circuits have already arrived at their most compact form. I don't think they're gonna get smaller (standard logic gates, not vertical or specially made)
xXx83xXx you should use parenthesis
Interested in pro redstone? Check out ORE at openredstone.org
You're really close, but let me correct a few things.
AND GATE
A AND B
NAND GATE
A NAND B
XOR GATE
1. A exclusive OR B
2. A AND NOT B OR NOT A AND B
XNOR GATE
1. A exclusive NOR B
2. A AND B OR NOT A AND NOT B
And he purposely stayed away from "and" and "nand"
Interested in pro redstone? Check out ORE at openredstone.org
AND and NAND are acceptable boolean statements.
AND:
Output Y is equal to one only if all inputs are equal to one
NOR:
Output Y is equal to one only if all inputs are equal to zero.
So with this point, just use one of the digital universal gates (NOR) in order to explain these outputs.
Just take a single gate OR, and invert the output logic levels so that it inverts into a NOR. Or you can invert the logic levels of the inputs so it acts as a NAND. Or you can invert both logic levels of inputs and outputs so it acts like an AND.
COUGHtruthtableCOUGH
Assuming we all know what the gates are.
*Hey I made a XNOR gate! Wait what is that*
Interested in pro redstone? Check out ORE at openredstone.org
Whoops, let me fix that.