Forum Discussion
1 Reply
- a_x_h_75
Contributor
You need to declare 'led' as a reg, in the same way you've declared counter. Declaring it as an output to the module isn't enough (as it is in other languages).
You can either add:
reg led;
or change the output declaration to:
output reg led;
Cheers,
Alex