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 counting must count from 0 to the number i chose. For example, i turn the key on when the counting is at number 7. Then the counter must go from 0 to 7. I just have done the counter, and it works perfect. But in every try the setpoint fails. How can i make this setpoint? Hugs and thanks, sorry for my english, im brazilian. P.S: Thats the counter image. The two blocks are the frequency divider (cause im using the 50MHz clock, and i need 1Hz) and the converter from the binary counting to show it in the 7 DIGIT display.