Even Parity Digital

Thread Starter

cariba

Joined Apr 22, 2009
19
Hi All, Ive been assigned to set up a mealy machine using d type flip flops , which is able to scan even 1 bits from a set of 4 bits.

For example , for the 1st set of 4 bits being 1101 it should output a 0 since the number of 1s is odd, whilst for the following combination 0011 it should output a 1 , the clock is to be applied by a signal generator and the inputs using a hi low selector switch.

Any ideas how I can set up the ciruict please??


Thanks
Alistair
 

Thread Starter

cariba

Joined Apr 22, 2009
19
yes, i need to use D Flip Flop. That is the problem, i cannot figure out how to do the state and truth table...
 

beenthere

Joined Apr 20, 2004
15,819
The table lists all 16 states of the bits - 0000 to 1111, and follows each with the correct parity.

Double check about the flip flops. They are fine for holding the value for the parity to be generated, but not very good about generating the parity. How are they supposed to get clocked, for instance?
 

Thread Starter

cariba

Joined Apr 22, 2009
19
so your recommend other types of flip flops? they will be clocked manualy using a schmitt trigger, preset by an input being a high or low before each clock pulse
 
Top