Forum Discussion
Altera_Forum
Honored Contributor
8 years agoVerilog coding help
Hi I have a ep4ce6 fpga board and I am trying to make a counter that counts up to 2_999_999_999.I don't know why it's not working. Here is the code: (I am trying to make a 1 sec timer) What am ...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- If your led is lit for just 1 clock period of 20 ns you won't see it. --- Quote End --- Absolutely correct. Try something like this instead: assign led = counter[25]; or 24 or 23 or ... to make the led blink faster and faster and lose the usage of the tmp register entirely.