Forum Discussion
6 Replies
- Altera_Forum
Honored Contributor
Issue is in your code! With that code leds will not blink. Go through Altera's example design or any standard book to realise proper logic.
- Altera_Forum
Honored Contributor
I tried not only this ,tried many programs. still not working. in the board there is fpga configuration 3 led's. they clearly shows that during downloading .sof file "loading" led blinks. then it "user mode" led blinks. then halts at factory program, "factory confi" led blinks. and output 8 leds blinks blinks according to factory program.
please help thankyou - Altera_Forum
Honored Contributor
As far as I can see, this line
will not cause your leds to blink, it just sets the signal to a constant value. To make them blink you will have to change their value regularly to 1 and back to 0. If the clock clk is too fast for the human eye (most probably) then you will need to implement a counter to only change the signal every n clock cycle.led=8'b0; - Altera_Forum
Honored Contributor
sorry , I mean to say, I programmed to light up the led always. since it is in active low I assigned led to zero.
still wrong? - Altera_Forum
Honored Contributor
I solved pin assignment problem . Now having only problem that user program is not running on device.
- Altera_Forum
Honored Contributor
It could be a problem on your board. Do you have an example .sof file given with the kit that you can try? Does it work?
One possible cause is that the design you are putting in the FPGA causes a short circuit. This makes the power supply drop and the FPGA will reset.