I can synthesize, etc but the LED appears constantly lit, although dimmer than normal if I'm not mistaken. Is there a minimum to the generated clock? Apologies for the newbie question, any documentation or things to help me learn would be greatly appreciated.
Question
White Horse Software
I'm learning how to generate clocks with XDC files, using the .xdc from the Basys 3 github repository as a starting point.
I'd like to change the clock to a very low frequency of 1 Hz, or once per second, so that a LED blinks on and off once a second.
The portion of the .xdc file that generates the clock looks like this:
And the code for blinking the LED looks like this:
module oneclock ( input clk, output led[15:0] ); assign led[0] = clk; endmodule
I can synthesize, etc but the LED appears constantly lit, although dimmer than normal if I'm not mistaken. Is there a minimum to the generated clock? Apologies for the newbie question, any documentation or things to help me learn would be greatly appreciated.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.