This project implements a 3-to-8 decoder using VHDL. The decoder takes a 3-bit input (A) and produces an 8-bit output (Y), where only one output bit is HIGH corresponding to the given binary input, and all others are LOW.
A 3-to-8 decoder translates a 3-bit binary input (A) into a one-hot 8-bit output (Y), where only the selected output bit is HIGH (1
) and the rest are LOW (0
).
A(2:0) Input | Y(7:0) Output |
---|---|
000 | 00000001 |
001 | 00000010 |
010 | 00000100 |
011 | 00001000 |
100 | 00010000 |
101 | 00100000 |
110 | 01000000 |
111 | 10000000 |
1
).0
)."00000000"
.The simulation results confirm that the decoder correctly sets only one output bit HIGH based on the input.
A Input | Y Output |
---|---|
000 | 00000001 |
001 | 00000010 |
010 | 00000100 |
011 | 00001000 |
100 | 00010000 |
101 | 00100000 |
110 | 01000000 |
111 | 10000000 |
Made by Swaroop Kumar Yadav