Just thought up a new redstone circuit for a project I'm working on. I'm not sure if this gate has been made by someone else or is in use in real life, But if it is let me know.
This gate has 2 inputs and 3 outputs. If only the first input is 1 a single output will be 1. If only the second input is 1 a seperate output wire will be 1. If both are on the final output will be on.
truth table:
schematic: inputs on the left, outputs on the right.
You, sir, win x 10. And several internets. Having figured out a new redstone gate is a big accomplishment. Thanks to you, there will now be several more advanced computers in the community. I can't wait to see what this new gate will allow people to create.
You, sir, win x 10. And several internets. Having figured out a new redstone gate is a big accomplishment. Thanks to you, there will now be several more advanced computers in the community. I can't wait to see what this new gate will allow people to create.
Again, you win the internets in my opinion.
Thank you good sir :smile.gif:
Rollback Post to RevisionRollBack
Quote from SwiftDigga »
It kills. I'm now a zombie, typing from a computer I stole from a noobs cave.
Ahh I love the smell of new Redstone gates in the morning.
I'm going to tinker with it a bit to see if it's truly unique in function, and if it is I'll have to write up a new Wiki entry on it.
it is the equivalent of setting up 2 implies gates with inverters on the ends and an and gate and giving them they're own dedicated outputs, yet running on the same inputs.
Rollback Post to RevisionRollBack
Quote from SwiftDigga »
It kills. I'm now a zombie, typing from a computer I stole from a noobs cave.
Not to be mean, but it's just three parallel ANDs with a couple of NOTs.
The simplified output is:
(the ¯ should be placed on top of the following letter, but I can't find the characters)
1 = ¯AB
2 = AB
3 = A¯B
Still, it's a nice compact implementation with redstone.
you can also build this with an and, 2 implies and a couple of nots. or you could do it with 4 repeaters and 1 and gate.
anyway the point is most gates in minecraft and even allmost all real life computer circuits are created using other simpler gates as building blocks and i found that i could compact this design by turning part of the implies gate i used into an and gate.
/rant
Rollback Post to RevisionRollBack
Quote from SwiftDigga »
It kills. I'm now a zombie, typing from a computer I stole from a noobs cave.
If I understood it correctly, it's basically a 2-bit binary converter. If B is LSB then output 1 tells if binary number is 1, output 3 tells if it's 2 and output 2 tells if it's 3. If none of outputs is active, result is 0.
If I remember correctly, this is demultiplexer (or demuxer).
This is definitely a multiplexer, based on what the OP described. (3 inputs which determine a single output)
I think you misread; it's definitely a demultiplexer or decoder, because it takes 2 inputs, and has 3 outputs that are one-hot (there is never more than one output that is on). A full demux would have 4 outputs because there are 4 possible combinations of input, but if you only need 3 of them then it's fine to lop one off.
OP: Yep, these are used all the time in real life. In case you're interested, a very common example is reading from an SRAM. SRAMs are arranged in rows and columns. The address is fed into the a decoder, which turns on one of the read lines for a row of SRAM cells. The outputs of all the cells in a column are tied together, which is why it's important to only turn on one read line.
it isn't truly unique - it is functionally identical to the following
2 inputs (A and :cool.gif:, 1 output - returns A && !B
2 inputs (A and :cool.gif:, 1 output - returns A && B
2 inputs (A and :cool.gif:, 1 output - returns !B && A
! means not
&& means and
|| would mean or, but I don't use it
so it is really these combinations of gates in a more compact form. Gratz on the optimization.
This is definitely a multiplexer, based on what the OP described. (3 inputs which determine a single output)
I think you misread; it's definitely a demultiplexer or decoder, because it takes 2 inputs, and has 3 outputs that are one-hot (there is never more than one output that is on). A full demux would have 4 outputs because there are 4 possible combinations of input, but if you only need 3 of them then it's fine to lop one off.
OP: Yep, these are used all the time in real life. In case you're interested, a very common example is reading from an SRAM. SRAMs are arranged in rows and columns. The address is fed into the a decoder, which turns on one of the read lines for a row of SRAM cells. The outputs of all the cells in a column are tied together, which is why it's important to only turn on one read line.
hmmm...
cons: i never made an original logic gate.
pros: i save space with the optomized design.
Edit: any way i can get my hands on the full decoder? (with 4 outputs) i realize now i can use this elsewhere :smile.gif:
Rollback Post to RevisionRollBack
Quote from SwiftDigga »
It kills. I'm now a zombie, typing from a computer I stole from a noobs cave.
Edit: any way i can get my hands on the full decoder? (with 4 outputs) i realize now i can use this elsewhere :smile.gif:
Well, conceptually it's pretty simple: Just add a column to your truth table for output "0", which is 1 when A and B are both 0. In Minecraft logic, that's simply a NOR gate (single redstone torch). Just add that to your existing design and there you go.
As far as a schematic, I can't produce one now and I'm probably not the best one to ask anyway. While I'm well versed in digital logic, I'm still getting used to the design rules for Minecraft circuits. Dieval's is much more compact than the one I would have come up with.
Just thought up a new redstone circuit for a project I'm working on. I'm not sure if this gate has been made by someone else or is in use in real life, But if it is let me know.
This type of gate is used in ALU's and other advanced processing units. It's called a demux, or demultiplexer.
It's really a basic logic function that's useful for taking analog, or a digital input, and having selectors to determine the value of the output.
In this case, your control torches (the two inverters on the left and right) prevent the border outputs from transmitting in the event of an equal high input. With an unequal high input, it will provide a truth value of high on the side the input is high.
I actually used a more integrated version of this in the construction of my Redstone 12 hour Digital Clock for determining a single value from multiple inputs.
A nearly identical version of this demux is actually used in , for the selector panel. If you follow the selector panel's BUS, the first thing it will lead you to is a demux that is just like yours, only with one less top torch, and one less output torch. So it has two outputs instead of three.
It's pretty awesome that you figured this out on your own! That is a mark of a truly intelligent, AND creative mind!
This gate has 2 inputs and 3 outputs. If only the first input is 1 a single output will be 1. If only the second input is 1 a seperate output wire will be 1. If both are on the final output will be on.
truth table:
schematic: inputs on the left, outputs on the right.
first schematic built in minecraft:
download link: i also included a second gate with outputs 1 and 3 flipped around.
http://www.freefilehosting.net/world3_1
What do you guys think of this?
make 2, attach them to a AND gate or 2, and make the output go to a door!
Again, you win the internets in my opinion.
Thank you good sir :smile.gif:
I hope I can find an interesting way to use this in my impending station
I'm going to tinker with it a bit to see if it's truly unique in function, and if it is I'll have to write up a new Wiki entry on it.
Problem?
it is the equivalent of setting up 2 implies gates with inverters on the ends and an and gate and giving them they're own dedicated outputs, yet running on the same inputs.
you can also build this with an and, 2 implies and a couple of nots. or you could do it with 4 repeaters and 1 and gate.
anyway the point is most gates in minecraft and even allmost all real life computer circuits are created using other simpler gates as building blocks and i found that i could compact this design by turning part of the implies gate i used into an and gate.
/rant
Isn't it multiplexer?
Congrats on figuring it out! Digital Logic isn't all it's cracked up to be, in any case.
[] [] [] []
[] []
[] [] [] []
= redstone wire.
= redstone torch.
I think you misread; it's definitely a demultiplexer or decoder, because it takes 2 inputs, and has 3 outputs that are one-hot (there is never more than one output that is on). A full demux would have 4 outputs because there are 4 possible combinations of input, but if you only need 3 of them then it's fine to lop one off.
OP: Yep, these are used all the time in real life. In case you're interested, a very common example is reading from an SRAM. SRAMs are arranged in rows and columns. The address is fed into the a decoder, which turns on one of the read lines for a row of SRAM cells. The outputs of all the cells in a column are tied together, which is why it's important to only turn on one read line.
2 inputs (A and :cool.gif:, 1 output - returns A && !B
2 inputs (A and :cool.gif:, 1 output - returns A && B
2 inputs (A and :cool.gif:, 1 output - returns !B && A
! means not
&& means and
|| would mean or, but I don't use it
so it is really these combinations of gates in a more compact form. Gratz on the optimization.
[FAQ] Extremely Common Problems
[OFFICIAL] Dragon Cave Thread
You're right - and it's organized so that the inputs match the outputs in regard to orientation
Could you alter where the output goes to? Ummm...
So if only the bottom torch is pressed the bottom output is on; top output only = middle output; both = top output.
The Sun rises in the North!Now these points of data make a beautiful line...
hmmm...
cons: i never made an original logic gate.
pros: i save space with the optomized design.
Edit: any way i can get my hands on the full decoder? (with 4 outputs) i realize now i can use this elsewhere :smile.gif:
Well, conceptually it's pretty simple: Just add a column to your truth table for output "0", which is 1 when A and B are both 0. In Minecraft logic, that's simply a NOR gate (single redstone torch). Just add that to your existing design and there you go.
As far as a schematic, I can't produce one now and I'm probably not the best one to ask anyway. While I'm well versed in digital logic, I'm still getting used to the design rules for Minecraft circuits. Dieval's is much more compact than the one I would have come up with.
This type of gate is used in ALU's and other advanced processing units. It's called a demux, or demultiplexer.
It's really a basic logic function that's useful for taking analog, or a digital input, and having selectors to determine the value of the output.
In this case, your control torches (the two inverters on the left and right) prevent the border outputs from transmitting in the event of an equal high input. With an unequal high input, it will provide a truth value of high on the side the input is high.
I actually used a more integrated version of this in the construction of my Redstone 12 hour Digital Clock for determining a single value from multiple inputs.
A nearly identical version of this demux is actually used in , for the selector panel. If you follow the selector panel's BUS, the first thing it will lead you to is a demux that is just like yours, only with one less top torch, and one less output torch. So it has two outputs instead of three.
It's pretty awesome that you figured this out on your own! That is a mark of a truly intelligent, AND creative mind!