I am a senior at Indiana State University. My major is Information Technology but I am taking a verilog class to get an intro into it. I created a full adder but I am not sure how to get it to display on a 7 segment display. I tried to do some research but the way some of the coding is confuses me.
This is what I have so far for my full adder that currently adds 3 inputs and produces a 4-bit output.
You need a 4-bit-to-seven-segment converter. This will map the sixteen 4-bit codes to enable the appropriate segments. For example, you can define the 7-segment display in a 7-bit register (segment A=bit 0, segment B=bit 1, etc.)
Code Enabled segments
0000 A,B,C,D,E,F-->0111111
0001 B,C-->0000110
0010 A,B,D,E,G
etc.
Code:
--A---
| |
F B
| |
---G---
| |
E C
| |
--D---
Note: for some reason, this website strips away whitespaces. That's supposed to be a 7-seg display above.