Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- SNESpad controller core
|
-- SNESpad controller core
|
--
|
--
|
-- $Id: snespad.vhd,v 1.1 2004-10-05 17:01:27 arniml Exp $
|
-- $Id: snespad.vhd,v 1.2 2004-10-05 18:22:40 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 snespad is
|
entity snespad is
|
|
|
generic (
|
generic (
|
|
-- number of pads connected to this core
|
num_pads_g : natural := 1;
|
num_pads_g : natural := 1;
|
|
-- active level of reset_i
|
reset_level_g : natural := 0;
|
reset_level_g : natural := 0;
|
|
-- active level of the button outputs
|
button_level_g : natural := 0;
|
button_level_g : natural := 0;
|
|
-- number of clk_i periods during 6us
|
clocks_per_6us_g : natural := 6
|
clocks_per_6us_g : natural := 6
|
);
|
);
|
port (
|
port (
|
-- System Interface -------------------------------------------------------
|
-- System Interface -------------------------------------------------------
|
clk_i : in std_logic;
|
clk_i : in std_logic;
|
Line 184... |
Line 188... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File History:
|
-- File History:
|
--
|
--
|
-- $Log: not supported by cvs2svn $
|
-- $Log: not supported by cvs2svn $
|
|
-- Revision 1.1 2004/10/05 17:01:27 arniml
|
|
-- initial check-in
|
|
--
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
|
|
No newline at end of file
|
No newline at end of file
|