The code is working fine except that LEDs [9:1] are dimly lit.
I am using the free software - Quartus Prime Lite 18.1 and the ModelSim.
module Mux_4_to_1 (Mux_Out, Sel, Mux_In);
input [1:0] Sel;
input [3:0] Mux_In;
output Mux_Out;
reg Mux_Out = 1'b0;
always @(*)
case (Sel)
2'b00: Mux_Out = Mux_In[0];
2'b01: Mux_Out = Mux_In[1];
2'b10: Mux_Out = Mux_In[2];
2'b11: Mux_Out = Mux_In[3];
default: Mux_Out = Mux_In[0];
endcase
endmodule
Link Copied
Hi,
You have to solder the JP5 2-pin header only if you are using the dual image boot function on the DE10-Lite board
Thanks.
Hi,
Can you check if you have the pin assigned correctly?
Please refer to Table 3-5 Pin Assignment of LEDs in the DE10-Lite User Manual
Thanks.
Hello,
It doesn't look like my attached picture went through. Yes, I verified the correct LED pin is being used. I have attach a screenshot of my pin planner and the user guide Table 3-5. I have also, attached my .qsf and .sdc files with added extension .txt so they would attach. Any help is appreciated.
Thank you,
Jeremy
Hi,
Have you tried to run the example design to check the functionality of the LED in hardware? If the LED behavior is expected for the example design, this could be the problem of the specific project. Do you have a timing clean project?
Thanks.
Hello YY,
Thank you for your reply.
What example design are you referring to? I have ran the Control Panel and this seems to work perfectly. I ran the VGA_Pattern demonstration file and it works perfectly.
I have finished a few small proejcts and so far they all show 100% Timing Analysis when I finish compiling using Quartus Prime Lite 18.1. Is this what you meant by timing clean project?
Also the projects work as expected..except that unassigned LEDs are dimly lit after I load the DE10 Lite. Now I do not have an SDC file in my projects but I have tried this by using the System Builder but I still have the issue.
Thank you,
Jeremy
Hi,
The example design is the example mentioned in the user guide. As you mentioned, the demonstrations are working fine, I suppose it is not the problem of the LED.
May I request the design.qar file?
Thanks.
Hello YY,
I just looked up the example files I believe you are referring to. (https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-software/quart...) . I haven't ran any of these. The VGA demo files I have ran are in: DE10-Lite_v.2.0.3_SystemCD\Demonstrations\VGA_Pattern . The VGA file along with the others work great and no LEDs are dimly lit. However, with my projects, the LEDs that are not used are dimly lit. I'm not sure what I am missing. It seems as if the LEDs may be tied to a "weak" pull down?? I will attach one of my projects including my test bench (which simulates fine).
Hi,
Could you try to use the demo design and replace the design files with your design to see if this is the settings problem?
Thanks.
Hello YY,
Thank you for replying. I won't be able to try your suggestion for a few days but I will repost when I try it.
Thank you,
Jeremy
Hi,
Sure. Please let me know if you have any questions.
Thanks.
Hi,
May I know if you have any updates?
Thanks.
Hello YY,
No, I haven't made any headway with the LED issue yet. My work-around is to have all 10 LEDs defined as output and then tie the to the state of one the toggle switches. That way they are either full on or full off. This covers up my issue with unused LEDs dimly lit because they are all used now.
Thank you for checking back in. I've haven't been able to spend the time to troubleshoot this due to college and work schedules but I will hopefully have more time soon.
Also, is it true that I need to solder a jumper wire on JP5 to load a BIT file into the flash RAM? I'm surprised a jumper (or posts) isn't already installed.
DE10-Lite
Thank you,
Jeremy
Hi,
You have to solder the JP5 2-pin header only if you are using the dual image boot function on the DE10-Lite board
Thanks.
Thank you. I am able to load the flash now.
Jeremy
For more complete information about compiler optimizations, see our Optimization Notice.