Forum Discussion
imarz1
New Contributor
7 years agoI have simple code question
Hi: I am very beginner. I wrote very simple code for DE10-Nano board to turn on one LED, but it is not working. Maybe someone could help: module LED ( CLK_50, LED1 ); input CLK_50; output r...
sstrell
Super Contributor
7 years agoYou haven't set up your always block correctly. Since you're creating a counter, it should probably be:
always @ (posedge CLK_50)
Without a clock, the way your code is written, nothing will happen (the counter will never increment).
#iwork4intel