Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCounter with setpoint
Hi everybody. I'm doing a project, that I have to make a counter using JK flipflops, and then i have to make a setpoint. The counter counts from 0-9... When i turn on the setpoint key, the co...
Altera_Forum
Honored Contributor
14 years agoAAAH I'VE DONE!
I just used D ffs to get the actual counting point (a key is the clock to the ffs). Then, when i press the key, the actual counting goes to the output of the ffs. The output of the counter (subtracted 1) goes to xnor gates with the outputs of the ffs, and it all goes to an AND gate and goes to the CLR of the counter. Then, if its equal, it goes to zero. Its cool. I cant post links yet, so if anyone wants the design, just send me a PM. = )