Line 1... |
Line 1... |
-- $Id: bpgenlib.vhd 426 2011-11-18 18:14:08Z mueller $
|
-- $Id: bpgenlib.vhd 472 2013-01-06 14:39:10Z mueller $
|
--
|
--
|
-- Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2011-2013 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.
|
--
|
--
|
Line 14... |
Line 14... |
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Package Name: bpliblib
|
-- Package Name: bpliblib
|
-- Description: Generic Board/Part components
|
-- Description: Generic Board/Part components
|
--
|
--
|
-- Dependencies: -
|
-- Dependencies: -
|
-- Tool versions: 12.1; ghdl 0.26-0.29
|
-- Tool versions: 12.1, 13.3; ghdl 0.26-0.29
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
|
-- 2013-01-06 472 1.0.7 add sn_humanio_demu_rbus
|
-- 2011-11-16 426 1.0.6 now numeric_std clean
|
-- 2011-11-16 426 1.0.6 now numeric_std clean
|
-- 2011-10-10 413 1.0.5 add sn_humanio_demu
|
-- 2011-10-10 413 1.0.5 add sn_humanio_demu
|
-- 2011-08-07 404 1.0.4 add RELAY generic for bp_rs232_2l4l_iob
|
-- 2011-08-07 404 1.0.4 add RELAY generic for bp_rs232_2l4l_iob
|
-- 2011-08-06 403 1.0.3 add RESET port for bp_rs232_2l4l_iob
|
-- 2011-08-06 403 1.0.3 add RESET port for bp_rs232_2l4l_iob
|
-- 2011-07-09 391 1.0.2 move in bp_rs232_2l4l_iob from s3boardlib
|
-- 2011-07-09 391 1.0.2 move in bp_rs232_2l4l_iob from s3boardlib
|
Line 195... |
Line 196... |
O_ANO_N : out slv4; -- pad-o: 7 seg disp: anodes (act.low)
|
O_ANO_N : out slv4; -- pad-o: 7 seg disp: anodes (act.low)
|
O_SEG_N : out slv8 -- pad-o: 7 seg disp: segments (act.low)
|
O_SEG_N : out slv8 -- pad-o: 7 seg disp: segments (act.low)
|
);
|
);
|
end component;
|
end component;
|
|
|
|
component sn_humanio_demu_rbus is -- human i/o swi,btn,led only /w rbus
|
|
generic (
|
|
DEBOUNCE : boolean := true; -- instantiate debouncer for SWI,BTN
|
|
RB_ADDR : slv8 := slv(to_unsigned(2#10000000#,8)));
|
|
port (
|
|
CLK : in slbit; -- clock
|
|
RESET : in slbit := '0'; -- reset
|
|
CE_MSEC : in slbit; -- 1 ms clock enable
|
|
RB_MREQ : in rb_mreq_type; -- rbus: request
|
|
RB_SRES : out rb_sres_type; -- rbus: response
|
|
SWI : out slv8; -- switch settings, debounced
|
|
BTN : out slv4; -- button settings, debounced
|
|
LED : in slv8; -- led data
|
|
DSP_DAT : in slv16; -- display data
|
|
DSP_DP : in slv4; -- display decimal points
|
|
I_SWI : in slv8; -- pad-i: switches
|
|
I_BTN : in slv6; -- pad-i: buttons
|
|
O_LED : out slv8 -- pad-o: leds
|
|
);
|
|
end component;
|
|
|
end package bpgenlib;
|
end package bpgenlib;
|
|
|
No newline at end of file
|
No newline at end of file
|