arthur merlo <
bon...@hotmail.com> wrote:
> Hi guys, I'm new in VHDL and would be glad if anyone could help me
> with
> my bcd-7segments decoder. I dont know why its not compiling
You should look at the syntax specification of concurrent assignments again.
It's _one_ assignment, i.e. _one_ signal assignment operator '<=' and _one_
semicolon.
Try something like this:
HEX0 <= "1000000" when a = "0000" else
"1111001" when a = "0001" else
"0100100" when a = "0010" else
"0110000" when a = "0011" else
"0011001" when a = "0100" else
"0100010" when a = "0101" else
"0000010" when a = "0110" else
"1111000" when a = "0111" else
"0000000" when a = "1000" else
"0010000" when a = "1001" else
"-------";
Enrik