Forum Discussion
Altera_Forum
Honored Contributor
17 years agosimple question
Hi there, I'm trying to increment a row of leds by one but pressing a pushbutton that is normally high until it is pressed. I have this code, but for some reason, the led's just light randomly. I'...
Altera_Forum
Honored Contributor
17 years agoThanks for the reply!
I'll try your code tomorrow when i get the chance. I realize that i was incrementing awkwardly like that, but i also tried: always @ (negedge iKEY[1]) j <= j+1; but that didn't give any sort of response..