mirror of
https://github.com/wfjm/w11.git
synced 2026-02-20 06:36:01 +00:00
47 lines
1.7 KiB
VHDL
47 lines
1.7 KiB
VHDL
-- $Id: basys3lib.vhd 984 2018-01-02 20:56:27Z mueller $
|
|
--
|
|
-- 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
|
|
-- the terms of the GNU General Public License as published by the Free
|
|
-- Software Foundation, either version 3, or (at your option) any later version.
|
|
--
|
|
-- This program is distributed in the hope that it will be useful, but
|
|
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
|
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
-- for complete details.
|
|
--
|
|
------------------------------------------------------------------------------
|
|
-- Package Name: basys3lib
|
|
-- Description: Basys 3 components
|
|
--
|
|
-- Dependencies: -
|
|
-- Tool versions: xst 14.7; viv 2014.4; ghdl 0.31
|
|
--
|
|
-- Revision History:
|
|
-- Date Rev Version Comment
|
|
-- 2015-01-15 634 1.0 Initial version
|
|
------------------------------------------------------------------------------
|
|
|
|
library ieee;
|
|
use ieee.std_logic_1164.all;
|
|
|
|
use work.slvtypes.all;
|
|
|
|
package basys3lib is
|
|
|
|
component basys3_aif is -- BASYS 3, abstract iface, base
|
|
port (
|
|
I_CLK100 : in slbit; -- 100 MHz clock
|
|
I_RXD : in slbit; -- receive data (board view)
|
|
O_TXD : out slbit; -- transmit data (board view)
|
|
I_SWI : in slv16; -- b3 switches
|
|
I_BTN : in slv5; -- b3 buttons
|
|
O_LED : out slv16; -- b3 leds
|
|
O_ANO_N : out slv4; -- 7 segment disp: anodes (act.low)
|
|
O_SEG_N : out slv8 -- 7 segment disp: segments (act.low)
|
|
);
|
|
end component;
|
|
|
|
end package basys3lib;
|