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 agoNo one?
People, i've been trying to do it all day long. Nothing works. Im using D flipflops; when the setpoint key is pressed, they get the actual number in the counter and store. then, i use xnor gates to see if the storage of the flipflops are equal the outputs of the counter; if yes, it may set the clear of the counter to zero. so, it counts from 0-9. then, i press the key, for example, when the 5 appears, i press. then the D ffs get the 5 and store. so, when the counting of the JKs get to 5, the xnor gates send all 1. then, i put all 1 in an and gate and send it to the counter to clear. ive been having problems to make this. every try, it fails. WHAT CAN I DO? haha thanks