Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- SNESpad controller core
|
-- SNESpad controller core
|
--
|
--
|
-- $Id: snespad_pad.vhd,v 1.1 2004-10-05 17:01:27 arniml Exp $
|
-- $Id: snespad_pad.vhd,v 1.2 2005-09-15 17:28:02 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 104... |
Line 104... |
report "button_level_g must be either 0 or 1!"
|
report "button_level_g must be either 0 or 1!"
|
severity failure;
|
severity failure;
|
-- pragma translate_on
|
-- pragma translate_on
|
|
|
seq: process (reset_i, clk_i)
|
seq: process (reset_i, clk_i)
|
variable mult_6us_overflow_v : boolean;
|
|
begin
|
begin
|
if reset_i = reset_level_g then
|
if reset_i = reset_level_g then
|
for i in buttons_t'range loop
|
for i in buttons_t'range loop
|
buttons_q(i) <= button_reset_f(button_level_g);
|
buttons_q(i) <= button_reset_f(button_level_g);
|
shift_buttons_q(i) <= button_reset_f(button_level_g);
|
shift_buttons_q(i) <= button_reset_f(button_level_g);
|
Line 149... |
Line 148... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- 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
|