use work.P_DISPLAY.all; entity DECODER is port (KEYPAD : in std_ulogic_vector(9 downto 0); KEY : out T_DIGITS); end DECODER;