Electronic – What happens when there’s no specific input variable on a logic diagram using a JK flip flop

digital-logicflipflopstate-machines

I'm trying to do some homework involving this circuit diagram:

Image

But I'm confused as to what the input would be for building a state table. Would I have to use the states of the flip flops as the input variables?

Best Answer

Your instinct is correct - assign labels to the FF outputs, e.g., Q1 and Q2. To form a state table, on the left side, list the the four possible states of Q1, Q2; on the right side, write the values that Q1 and Q2 will assume after the next clock pulse. The table will then contain a complete description of the state machine.