3 way logic gates?

  • therocketeer
    18th Feb 2012 Member 0 Permalink
    @Racer-Delux (View Post)
    this is when tpt needs 2 different types of SPRK, or 2 charges +/-. That way, trinary/ternary logic would be easier becuase you'd have +, - and none.

    Currently, It would only be possible (I think) if you made it somehow "detect" the delay between SPRK pulses (so quick charge and slow charge).
    So that would mean you would have 2 variations of SPRK and none, hence trinary logic.

    IDK how you do this though... lol.
  • Racer-Delux
    18th Feb 2012 Member 0 Permalink
    @therocketeer
    I see what you mean. I will look into that and see what I can do.
  • jenn4
    18th Feb 2012 Member 0 Permalink
    Metl=M
    Insl=I
    Merc=m
    M
    M
    IIIMIIIII
    I m I
    IMIMIM
    IMIMIM

    Do that and you have three way randomizer.
  • therocketeer
    18th Feb 2012 Member 0 Permalink
    @jenn4 (View Post)
    he doesn't want a randomiser, he wants the complete opposite. A logic gate with 3 outputs.
  • Racer-Delux
    18th Feb 2012 Member 0 Permalink
    @therocketeer
    Well, three way random logic gate... not really a logic gate (though it really is). The big thing is that it always needs to work, no misses.
  • tommig
    18th Feb 2012 Member 0 Permalink
    I think I can do 4, but not 3...
  • Racer-Delux
    18th Feb 2012 Member 0 Permalink
    @tommig
    anything to the power of 2 is easy. That is simply a Boolean operator. 
  • Minishooz
    18th Feb 2012 Member 0 Permalink
    @Racer-Delux (View Post)

    This is just like 2-bit Binary... Why trinary?what use?
  • Racer-Delux
    18th Feb 2012 Member 0 Permalink
    @Minishooz
    2 bit binary will only work if you are looking for a probability that is a multiple of 2. For the project I am working on, I need a 1 in 12 chance of something happening, So i chain up three 2 bit binary operators, but a 4th 2 bit or would make the probability 1/16, not 1/12. If I use trinary operations,  I can send 0 and 1 to one side, and 2 to the other, making it a 1/12 probability.
  • jacob1
    18th Feb 2012 Developer 0 Permalink
    When I wanted to generate a random number from 1 to 10 once, I used LRBD to get 16 different outputs, each with a 1/16 chance. If it was one of the last six, it would send a signal back into the input to generate another number, and eventually one of the first ten were selected. You could probably do something similar.