I am working on a state machine that will drive a state bus for a personal project. The state machine will have an output pattern like the following:
100000000 010000000 001000000 000100000 000010000 000001000 000000100 000000010 000000001 100000000
As you can see, the active bit shifts and wraps back around. I've put together the circuitry to do this; however, the results are really hit and miss. I accomplished the above with two octal flip flops, two line drivers, and a clock to change the active bit. The flip flops have the output of the line drivers going back into their input, shifted by one bit. The last bit goes back around and feeds the first bit.
My circuit only works about 1/4 of the time... the majority of the time, several bits will be high at once OR it will wrap around once and eventually the high bit will 'fade' away.
I am seeking any recommendations and/or changes that I can do to make this work. I understand that the circuit isn't very elegant.. I have just been trying what I know.
The PCB layout above is meant to go on one layer - the different colors are only to help me. Furthermore, there are a few jumpers in between wires... they are always directly across from one another.
The schematic does not include the line drivers, only the flip-flops