Browse Source

reset key debound to 50ms

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 4 years ago
parent
commit
b9c3a9d7c5
  1. 2
      src/ft2004_top.v

2
src/ft2004_top.v

@ -139,7 +139,7 @@ always @(posedge ft_pwr_ctl1 or negedge ft_pwr_ctl0)
// reset key detection // reset key detection
wire rst_key; wire rst_key;
key_delay reset_key( key_delay #(.debound(50)) reset_key(
.keypin(por_rst & sys_rst_in), .keypin(por_rst & sys_rst_in),
.clk_1K(clk_1k), .clk_1K(clk_1k),
.keyout(rst_key)); // reset key pressed, output 1, otherwise output 0. .keyout(rst_key)); // reset key pressed, output 1, otherwise output 0.

Loading…
Cancel
Save