Forum Discussion
Altera_Forum
Honored Contributor
10 years agoclock consultation
greetings hi guys am having an assignment which it basically a car park machine it has 4 inputs which is fifty , twenty, ten, ticket and i need to detect the input and deduct it from ...
Altera_Forum
Honored Contributor
10 years agoUsing a clock divider is the right way to do this. A PLL won't allow you to generate a slow enough clock. So, you'll still need a clock divider. There's nothing wrong with the code you've posted. So, the problem must be in another part of your design.
Are you using the 'clk_out' signal to clock other logic or as a signal that's part of a synchronous design? Cheers, Alex