#21 JK flip-flop checks input state after clock

open
nobody
None
5
2011-07-05
2011-07-05
Anonymous
No

The JK flip-flop (I have it set to rising edge) checks the input state after the clock tick. The result is, if the inputs change simultaneously with the clock edge changing, it will respond to the clock tick as if the inputs were the new input, not the old.

It should store the input state on the falling clock edge and change the output based on that stored state on the rising edge. If the input changes after the falling clock edge (but before the rising edge), the new input should have no bearing on the output at the next rising edge.

Discussion

  • This is supposed to count in the following sequence: 0, 3, 6, 0...

     
    Attachments