Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

How to disable all unused LEDs and 7 segment display on DE2 board?

Altera_Forum
Honored Contributor II
2,297 Views

Hi, 

 

I am using Altera DE2 board. For pin assignments, I only use four red LEDs on the board. After I program .sof file by selecting Tool > Programmer from Menu bar, there are others LEDs are blinking. Same as 7 segment display. 

 

How to disable all unused LEDs and 7 segment display? 

 

Thanks!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,338 Views

Hi,terasic, 

Thanks for the reply. 

 

Here is the attachment of my project. 

 

I use verilog code to for 32 bits up counter. 

 

I connect some 4 bits from 32 bits up counter to a 4 bits of 2:1 mux, and the 2:1 mux outputs connect to 4 leds. 

 

I dont do anything for 7 segment display. 

 

thanks!
0 Kudos
Altera_Forum
Honored Contributor II
1,338 Views

If you go to your project navigator (top right corner) of your Quartus project, right click on the name of the FPGA -> Device and pin options ->Unused pins. Does it say As tri-stated with weak pull up, otherwise your LEDs might be floating?

0 Kudos
Altera_Forum
Honored Contributor II
1,338 Views

Hi, Thormodo! 

 

Thanks for reply. For the Device and Pin Options settings, I have set it as tri-stated. But the unused LEDs keep blinking. May I know how to solve this problem? Any hardware coding or setting i need to do beside the device and pin options?
0 Kudos
Altera_Forum
Honored Contributor II
1,338 Views

 

--- Quote Start ---  

you might just want to assign led[7:5] = 0;  

and all HEX(seven seg displays) values to 1 since they are active-low. 

--- Quote End ---  

 

Well if he's not using the LEDs, they shouldn't have a pin assignment. So he can't set them to 0. Ofcourse you can try to make these assignments and see if that works.
0 Kudos
Reply