5e29ab5c1287f6e59d5a72ce0a91ff355756bcf1
Stefan Schuermans initial firmware and testbed

Stefan Schuermans authored 12 years ago

1) LIBRARY ieee;
2) USE ieee.std_logic_1164.all;
3) USE ieee.numeric_std.all;
4) USE std.textio.all;
Stefan Schuermans implemented LCD peripheral

Stefan Schuermans authored 12 years ago

5) USE work.io_lcd_pins.all;
Stefan Schuermans implemented switches

Stefan Schuermans authored 12 years ago

6) USE work.io_switches_pins.all;
Stefan Schuermans initial firmware and testbed

Stefan Schuermans authored 12 years ago

7) 
8) ENTITY e_testbed IS
9) END ENTITY e_testbed;
10) 
11) ARCHITECTURE a_testbed OF e_testbed IS
12) 
13)     COMPONENT e_system IS
14)         PORT (
Stefan Schuermans implemented switches

Stefan Schuermans authored 12 years ago

15)             clk:            IN  std_logic;
16)             pin_o_leds:     OUT std_logic_vector(7 DOWNTO 0);
17)             pin_o_lcd:      OUT t_io_lcd_pins;
18)             pin_i_switches: IN  t_io_switches_pins
Stefan Schuermans initial firmware and testbed

Stefan Schuermans authored 12 years ago

19)         );
20)     END COMPONENT e_system;
21) 
Stefan Schuermans added "LEDs" I/O peripheral...

Stefan Schuermans authored 12 years ago

22)     SIGNAL s_clk:    std_logic;
23)     SIGNAL pin_leds: std_logic_vector(7 DOWNTO 0);
Stefan Schuermans implemented LCD peripheral

Stefan Schuermans authored 12 years ago

24)     SIGNAL pin_lcd:  t_io_lcd_pins;
Stefan Schuermans initial firmware and testbed

Stefan Schuermans authored 12 years ago

25) 
26) BEGIN
27) 
28)     system: e_system
29)         PORT MAP (
Stefan Schuermans implemented switches

Stefan Schuermans authored 12 years ago

30)             clk            => s_clk,
31)             pin_o_leds     => pin_leds,
32)             pin_o_lcd      => pin_lcd,
33)             pin_i_switches => (sw => (OTHERS => '0'), OTHERS => '0')