Files
lt16lab/soc/peripheral/peripherals.vhd
Thomas Fehmel 657a54ba18 Initial Commit
2016-10-18 14:21:45 +02:00

37 lines
724 B
VHDL

-- See the file "LICENSE" for the full license governing this code. --
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use ieee.numeric_std.all;
library work;
use work.lt16x32_internal.all;
use work.lt16x32_global.all;
use work.wishbone.all;
use work.config.all;
package lt16soc_peripherals is
component wb_led is
generic(
memaddr : generic_addr_type;-- := CFG_BADR_LED;
addrmask : generic_mask_type-- := CFG_MADR_LED;
);
port(
clk : in std_logic;
rst : in std_logic;
led : out std_logic_vector(7 downto 0);
wslvi : in wb_slv_in_type;
wslvo : out wb_slv_out_type
);
end component;
end lt16soc_peripherals;
package body lt16soc_peripherals is
--insert function bodies
end lt16soc_peripherals;