DISCLAIMER
  ALSE assumes no responsibility of any kind related with the
  code and information provided here. This archive was designed
  for illustration purpose and should no part of it should be used
  in any application.

---------------------------------------------------
  >>>>> All this archive is (c) ALSE 2004.  <<<<<
  No part of the code contained herein can be used
  without the prior written consent of ALSE.
  http://www.alse-fr.com
  mailto:info@alse-fr.com
  Author : Bertrand Cuzeau
---------------------------------------------------

-- -----------------
--    Debouncer
-- -----------------

Debounce.vhd    : Debouncer module in VHDL
tb_debounce.vhd : Test bench in VHDL
simu.do         : ModelSim simulation script

How to use :

 * you must provide a system clock and asynchronous active high reset

 * you must provide a 20 Hz pulse (active during one clock cycle only)
   This pulse can be 50 Hz or other similar repetition rate.

 * Adjust the generic to match your debounce filtering,
   but NBconf must be between >= 3.
   The delay is NBconf * Tick20H period.

 SWin in the raw push button input
 SWout is the filtered (debounced) information

By default, NBconf = 6 -> 300 ms filter with Tick20H at 20 Hz.
