Specifications

24
END lights;
ARCHITECTURE Structure OF lights IS
COMPONENT nios_system
PORT (
clk : IN STD_LOGIC;
reset_n : IN STD_LOGIC;
out_port_from_the_LEDs : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
in_port_to_the_Switches : IN STD_LOGIC_VECTOR (7 DOWNTO 0)
);
END COMPONENT;
BEGIN
−− Instantiate the Nios II system entity generated by the SOPC Builder
NiosII: nios_system PORT MAP (CLOCK_50, KEY(0), LEDG, SW);
END Structure;