arthur merlo 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
>
> LIBRARY ieee;
> USE ieee.std_logic_1164.all;
> ENTITY decod_7seg IS
> PORT (
> a : IN STD_LOGIC_VECTOR(17 DOWNTO 0);
> HEX0 : OUT STD_LOGIC_VECTOR(6 DOWNTO 0)
> );
> END decod_7seg;
Besides the other two replies you already got: input 'a' needs to be 4 bits
wide: 3 DOWNTO 0. The values you compare with are 4 bits wide.
--
Paul Uiterlinden
www.aimvalley.nl