two out of five code error detector

Discussion in 'The Projects Forum' started by r_sagarraju, Oct 4, 2007.

  1. r_sagarraju

    Thread Starter New Member

    Oct 4, 2007
    4
    0
    TOFEDetector
     
    Last edited: Oct 16, 2009
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
  3. r_sagarraju

    Thread Starter New Member

    Oct 4, 2007
    4
    0
    Thanks @Beenthere
     
    Last edited: Oct 16, 2009
  4. techroomt

    Senior Member

    May 19, 2004
    198
    1
    why not drop the word into a register and then performing a compare with logic gates?
     
  5. r_sagarraju

    Thread Starter New Member

    Oct 4, 2007
    4
    0
    @techroomt

    i didnt understand ur logic....can u explain it more clearly.........
     
  6. techroomt

    Senior Member

    May 19, 2004
    198
    1
    the register is just a means to hold your status word fror decoding, not required if it is already stored or available elsewhere. the bits can then be inputs to some and & or gates to "watch" for the specific pattern to output a high signal (or whatever stste your circuit requires). this is not much unlike a parity checker circuit honestly.
     
  7. techroomt

    Senior Member

    May 19, 2004
    198
    1
    i am afraid we will need more detail of your application and conditions to help any further.
     
  8. thingmaker3

    Retired Moderator

    May 16, 2005
    5,072
    6
    Simple.

    First, draw up a 32 line truth table for all possible states of the five inputs. Outputs will be "0" for any input combination containing two and only two "1." Output will "1" for all other inputs.

    Next, study the table and look for patterns. Create a logic circuit to satisfy the truth table.

    Hint: There are only ten of the thirty-two states which will not be error states.
     
  9. r_sagarraju

    Thread Starter New Member

    Oct 4, 2007
    4
    0
    Thanks a lot thingmaker......
     
Loading...