-- $Id: basys3lib.vhd 726 2016-01-31 23:02:31Z mueller $
|
-- $Id: basys3lib.vhd 726 2016-01-31 23:02:31Z mueller $
|
--
|
--
|
-- Copyright 2015- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2015- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
-- Software Foundation, either version 2, or at your option any later version.
|
-- Software Foundation, either version 2, or at your option any later version.
|
--
|
--
|
-- This program is distributed in the hope that it will be useful, but
|
-- This program is distributed in the hope that it will be useful, but
|
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
-- for complete details.
|
-- for complete details.
|
--
|
--
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Package Name: basys3lib
|
-- Package Name: basys3lib
|
-- Description: Basys 3 components
|
-- Description: Basys 3 components
|
--
|
--
|
-- Dependencies: -
|
-- Dependencies: -
|
-- Tool versions: xst 14.7; viv 2014.4; ghdl 0.31
|
-- Tool versions: xst 14.7; viv 2014.4; ghdl 0.31
|
--
|
--
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
-- 2015-01-15 634 1.0 Initial version
|
-- 2015-01-15 634 1.0 Initial version
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
|
|
library ieee;
|
library ieee;
|
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
|
|
use work.slvtypes.all;
|
use work.slvtypes.all;
|
|
|
package basys3lib is
|
package basys3lib is
|
|
|
component basys3_aif is -- BASYS 3, abstract iface, base
|
component basys3_aif is -- BASYS 3, abstract iface, base
|
port (
|
port (
|
I_CLK100 : in slbit; -- 100 MHz clock
|
I_CLK100 : in slbit; -- 100 MHz clock
|
I_RXD : in slbit; -- receive data (board view)
|
I_RXD : in slbit; -- receive data (board view)
|
O_TXD : out slbit; -- transmit data (board view)
|
O_TXD : out slbit; -- transmit data (board view)
|
I_SWI : in slv16; -- b3 switches
|
I_SWI : in slv16; -- b3 switches
|
I_BTN : in slv5; -- b3 buttons
|
I_BTN : in slv5; -- b3 buttons
|
O_LED : out slv16; -- b3 leds
|
O_LED : out slv16; -- b3 leds
|
O_ANO_N : out slv4; -- 7 segment disp: anodes (act.low)
|
O_ANO_N : out slv4; -- 7 segment disp: anodes (act.low)
|
O_SEG_N : out slv8 -- 7 segment disp: segments (act.low)
|
O_SEG_N : out slv8 -- 7 segment disp: segments (act.low)
|
);
|
);
|
end component;
|
end component;
|
|
|
end package basys3lib;
|
end package basys3lib;
|
|
|