ea1aa509f28467649b54a1116e0e639e9b77fe73
Stefan Schuermans implemented LCD peripheral

Stefan Schuermans authored 12 years ago

1) LIBRARY IEEE;
2) USE IEEE.STD_LOGIC_1164.ALL;
3) USE IEEE.NUMERIC_STD.ALL;
4) USE work.io_lcd_pins.all;
5) 
6) ENTITY e_io_lcd IS
7)     PORT (
8)         rst:       IN  std_logic;
9)         clk:       IN  std_logic;
10)         o_rd_data: OUT std_logic_vector(31 DOWNTO 0);
11)         i_wr_data: IN  std_logic_vector(31 DOWNTO 0);
12)         i_wr_en:   IN  std_logic_vector( 3 DOWNTO 0);
13)         pin_o_lcd: OUT t_io_lcd_pins
14)     );
15) END ENTITY e_io_lcd;
16) 
17) ARCHITECTURE a_io_lcd OF e_io_lcd IS
18) 
19)     SIGNAL n_lcd: t_io_lcd_pins;
Stefan Schuermans add initial values for regi...

Stefan Schuermans authored 12 years ago

20)     SIGNAL r_lcd: t_io_lcd_pins := (data => (OTHERS => '0'),
21)                                     e => '0', rs => '0', rw => '0');