Professional Documents
Culture Documents
LCD
LCD
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity lcd is
end lcd;
architecture Behavioral of lcd is constant N: integer :=22; type arr is array (1 to
N) of std_logic_vector(7 downto 0); constant datas : arr :=
(X"38",X"0c",X"06",X"01",X"C0",X"50",x"41",x"4e",x"54",x"45",x"43",x"48",x"20",x"53
",x"4f",x"4c",x"55",x"54",x"49",x"4f",x"4e",X"53"); --command and data to display
begin
process(clk)
variable i : integer := 0;
variable j : integer := 1;
begin
i := i + 1;
i := i + 1;
i := 0;
end if;
if j <= 5 then
end if;
j := 5;
end if;
end if;
end process;
end Behavioral;