Forum Discussion
Altera_Forum
Honored Contributor
9 years ago7 Segment display
Is there a way to choose a certain seven segment display and disable the other 7 on the DE2-115 board. For example is it possible to put a statement like SSEG <= "11111110" which would disable all of...
Altera_Forum
Honored Contributor
9 years agoYes, there is (and, as with many of these things there are many ways to do so...). Two for starters:
You could 'AND' each 7-segment output with a bit from your SSEG value (note this doesn't consider whether the display bits are on when the output is driven high or low). You could test each SSEG value, with an 'if' statement, to determine how to drive the display. Cheers Alex