Chargement…
Chargement…
The decoder converts a BCD digit (0-9) into 7 signals for a 7-segment display. Enable activates or deactivates the display: when inactive, all segments are off.
Truth Table:
When i_en = '1':
"0111111", 1 → "0000110", 2 → "1011011", 3 → "1001111", 4 → "1100110""1101101", 6 → "1111101", 7 → "0000111", 8 → "1111111", 9 → "1101111""0000000"| Signal | Direction | Width | Description |
|---|---|---|---|
i_en | Input | 1 bit | Enable |
i_data | Input | 4 bits | BCD digit (0-9) |
o_segment | Output | 7 bits | Segments a-g |