I've been trying to work on a setup that counts up, but I always run into issues. Does anyone have anything?
I built mine following Ben Eater's tutorials:
https://www.youtube.com/playlist?list=PLowKtXNTBypGqImE405J2565dvjafglHU
Start at video #24, the JK Flip Flop.
Can you explain your problem to me? Is it an endless loop caused by updating the input to the output's change and changing the output by doing so? Because in this case you Just need a D Latch at the end, that updates, when the clock signal is high and a D Latch at the beginning, that feeds the new state into the curcuit, whenever the clock signal is low. Then you can output the signal of the last D Latch and it should work. Did I understand your problem right? The image shows a simplified working T Flip Flop.
You have to restrict the updates, that happen, so it doesn‘t do an endless loop of updating. It’s like a door, where only one is going to be open at a time. It‘s like these doors from the zoo so the tigers don’t escape. Build some working D Latches and use them as caches, so the inputs don‘t immediatly update when the output changes. And when the input changes to the output don‘t update the output until the input doesn‘t change anymore. This way you react to an edge only once. Try building it this way. If you need help with the D Latches tell me. By chaining these together you should be able to count up.