I'm doing many projects that are simulated very well. I'm using MAX Plus II, but my projects need to be tested by a push button by my teacher, where the push button gives the clock signal to the circuit. I know it's easy to make such a clock with an external circuit, but's that not the solution. I need to implement the clock inside the FPGA I'm using, also a push button that is already in the training board by Altera should be used.
I have implemented such type of clock in many ways, but always give glitches, causing the circuit to jump to a wrong state. That's the problem, how to program such a clock so I can add it to my projects? I made a succesful clock with 2 push buttons, to make the low and the high signal that worked great but my teacher didn't like it, he wants a clock made with one push button.
Thanks for any help.
I have implemented such type of clock in many ways, but always give glitches, causing the circuit to jump to a wrong state. That's the problem, how to program such a clock so I can add it to my projects? I made a succesful clock with 2 push buttons, to make the low and the high signal that worked great but my teacher didn't like it, he wants a clock made with one push button.
Thanks for any help.