Don't know why just after the implementation all the LEDs are getting HIGH without any delay (i.e) all LEDs on the ZYBO board are getting HIGH at once
According to the code, a random number is generated, so it goes into any of above if conditions and the time gap between the generation of new random number and the previous one is around 3 seconds... So there should be some delay (i.e) all LEDs shouldn't be HIGH at once....
And similar error is observed in 7 segment BCD display too.... (i.e) all the 7 segments of BCD are getting HIGH at once just after implementation....
When I tried my code using online testbench (EDA Playground) it displayed a random number with a delay of 3 seconds around but I don't know why in Vivado its not working..
Question
Aditya Gedela
My Code is given in the file below...
Error:
Don't know why just after the implementation all the LEDs are getting HIGH without any delay (i.e) all LEDs on the ZYBO board are getting HIGH at once
According to the code, a random number is generated, so it goes into any of above if conditions and the time gap between the generation of new random number and the previous one is around 3 seconds... So there should be some delay (i.e) all LEDs shouldn't be HIGH at once....
And similar error is observed in 7 segment BCD display too.... (i.e) all the 7 segments of BCD are getting HIGH at once just after implementation....
When I tried my code using online testbench (EDA Playground) it displayed a random number with a delay of 3 seconds around but I don't know why in Vivado its not working..
So can anyone please help me out?
Thanks in Advance....
Random generator.rtf
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.