Forum Discussion
Altera_Forum
Honored Contributor
12 years agoPush-button counter
hi again this has got me stumped, yet I think it should be so easy ! I'm trying to display a horizontal bar in VGA (which I can do) and then have the bar rotate by 1 degree every time I pu...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Note that I don't have a clock source for this entity. --- Quote End --- If you don't provide a clock, how is your code supposed to increment k? Whenever the if condition is true, k is continuously incremented according to your code, but this is not physically synthesizable. You definitely need a clock to step one by one the increment process.