ea1aa509f28467649b54a1116e0e639e9b77fe73
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

1) LIBRARY IEEE;
2) USE IEEE.STD_LOGIC_1164.ALL;
3) USE IEEE.NUMERIC_STD.ALL;
4) 
5) ENTITY e_io_leds IS
6)     PORT (
7)         rst:        IN  std_logic;
8)         clk:        IN  std_logic;
9)         o_rd_data:  OUT std_logic_vector(7 DOWNTO 0);
10)         i_wr_data:  IN  std_logic_vector(7 DOWNTO 0);
11)         i_wr_en:    IN  std_logic;
12)         pin_o_leds: OUT std_logic_vector(7 DOWNTO 0)
13)     );
14) END ENTITY e_io_leds;
15) 
16) ARCHITECTURE a_io_leds OF e_io_leds IS
17) 
18)     SIGNAL n_leds: std_logic_vector(7 DOWNTO 0);
Stefan Schuermans add initial values for regi...

Stefan Schuermans authored 12 years ago

19)     SIGNAL r_leds: std_logic_vector(7 DOWNTO 0) := (OTHERS => '0');