Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- GCpad controller core
|
-- GCpad controller core
|
--
|
--
|
-- $Id: gcpad_basic.vhd,v 1.4 2004-10-09 17:03:43 arniml Exp $
|
-- $Id: gcpad_basic.vhd,v 1.5 2004-10-09 22:18:35 arniml Exp $
|
--
|
--
|
-- Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
|
-- Copyright (c) 2004, Arnim Laeuger (arniml@opencores.org)
|
--
|
--
|
-- All rights reserved
|
-- All rights reserved
|
--
|
--
|
Line 50... |
Line 50... |
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
|
|
entity gcpad_basic is
|
entity gcpad_basic is
|
|
|
generic (
|
generic (
|
|
-- active level of reset_i
|
reset_level_g : integer := 0;
|
reset_level_g : integer := 0;
|
|
-- number of clk_i periods during 1us
|
clocks_per_1us_g : integer := 2
|
clocks_per_1us_g : integer := 2
|
);
|
);
|
port (
|
port (
|
-- System Interface -------------------------------------------------------
|
-- System Interface -------------------------------------------------------
|
clk_i : in std_logic;
|
clk_i : in std_logic;
|
Line 256... |
Line 258... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File History:
|
-- File History:
|
--
|
--
|
-- $Log: not supported by cvs2svn $
|
-- $Log: not supported by cvs2svn $
|
|
-- Revision 1.4 2004/10/09 17:03:43 arniml
|
|
-- enhance handshaking between gcpad_rx and gcpad_ctrl
|
|
--
|
-- Revision 1.3 2004/10/09 00:33:55 arniml
|
-- Revision 1.3 2004/10/09 00:33:55 arniml
|
-- shift rx_data to button assignment to toplevel
|
-- shift rx_data to button assignment to toplevel
|
--
|
--
|
-- Revision 1.2 2004/10/08 20:51:59 arniml
|
-- Revision 1.2 2004/10/08 20:51:59 arniml
|
-- turn rx and tx size into bytes instead of bits
|
-- turn rx and tx size into bytes instead of bits
|