Forum Discussion
Altera_Forum
Honored Contributor
12 years agoLED toggle
I'm trying what I thought would be a very simple programme to turn alternate LEDs ON and OFF every half second, but it isn't working as it should. It starts off OK, with the LEDs toggling about every...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- PS. forgot to mention that I have a second board with the same CPLD, which I programmed as above. The LEDs first toggled after 77 seconds (!!), then 82 then 75 seconds, then I gave up. --- Quote End --- you will need to set your clock frequency in an sdc file so that tool knows what to do. create an sdc file (text file with extension sdc, go to new => files=> sdc) and type: create_clock -period "50 MHz" [get_ports clk]