two out of five code error detector

techroomt

Joined May 19, 2004
198
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.
 

thingmaker3

Joined May 16, 2005
5,083
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.
 
Top