Hi, all I am doing a traffic light controller project with using DE2 board... the code I have is compiled perfectly, but when I use the DE2 board, it doesn't work properly... Some lights should be turned on when I switch on.. but for some reason it keeps having the same issues although I try on and on. So I asked the professor about the issue, and he said this is logic problem... I hope you help me out. I attached the file of the code in case.
Guest
#2947800
Does you Simulation show the same error?
SJ Oh wrote: > the code I have is compiled perfectly I can write don some lines of VHDL tha compile rperfectly well, but the will do nonsens on the hardware. The debugger for VHDL is the funtional simulator. > but for some reason it keeps having the same issues Which ones? One question: How fast is your clock?
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
Is it really 1Hz? This is not the problem, but for me it is a major mistake:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
when others is not necessary when all of the possible states are used. The signal traffic_light_controller has only 6 states and each of them is explicitly used, so there are no "others" remaining!
Reply
Please log in before posting.