Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI wanted that the led will light in 1khz so I could see them.
so if DE2 board have 50Mhz clock I need to count to 50000. taking that into account if every cycle I raise the output Led only once it means that the led change once per 0.5ms that means twice in 1khz cycle just like you said and what I wanted it to do. once and let say I want it to run at least 50 times so I need 50ms delay so far I hope I got it right. I don't know what you mean when you say that the Led lag the rd_led they update together they are in the same IF Statement suppose to be any way that who I see it . if the code is good at least reasonable enough to work maybe I just dont know who to run the sim and a guide will help?