JLDIJDYI Posted December 12, 2017 Share Posted December 12, 2017 Hi, I just brought the NEXYS 4 FPGA and want to start learn it myself. The first project I am trying to do is changing the seven segment display one by one. Is there any example code that I can start with? Thank you. Link to comment Share on other sites More sharing options...
jpeyron Posted December 12, 2017 Share Posted December 12, 2017 Hi @JLDIJDYI, Here is a forum thread that discusses using the 7 segment display. The vhdl should be the same only the xdc/ucf will be different. There are a few projects that use the 7 segment display in vhdl on the resource center here. cheers, Jon Link to comment Share on other sites More sharing options...
Tickstart Posted December 12, 2017 Share Posted December 12, 2017 Make sure you understand the problem first, as it can be daunting to begin with. It's really simple though, when everything is said and done. The datasheet will inform you on which segments light up to form a character, like a 3 or A for example. Now, all segments will display the same information, 3 or A or whatever, so it's up to you to turn on only the relevand digit position for that character, so you "sweep" over the display in very rapid succession. For my project on the Basys 3 I split up every character to 4 bits (I wanted hexadecimal notation), made a decoder (simple case-statement list) to produce the specific bit combination depending on which number to display. Then a way to switch position to light up and what information to send to the decoder as a result. Link to comment Share on other sites More sharing options...
D@n Posted December 12, 2017 Share Posted December 12, 2017 @JLDIJDYI, fpga4student just put a tutorial together on the 7-segment display. Feel free to take a look and give them some feedback, Dan Link to comment Share on other sites More sharing options...
Question
JLDIJDYI
Hi,
I just brought the NEXYS 4 FPGA and want to start learn it myself. The first project I am trying to do is changing the seven segment display one by one. Is there any example code that I can start with?
Thank you.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.