From 48ad108e9c5311887a03877ea37d85ca1498d7ee Mon Sep 17 00:00:00 2001 From: Eugene Lozovoy Date: Thu, 26 Oct 2023 21:01:47 +0300 Subject: [PATCH] fix support of some ps/2 keyboards with slow clock --- fpga/rtl/ps2_rxtx.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpga/rtl/ps2_rxtx.v b/fpga/rtl/ps2_rxtx.v index bfc0bde..38f5b89 100644 --- a/fpga/rtl/ps2_rxtx.v +++ b/fpga/rtl/ps2_rxtx.v @@ -16,7 +16,7 @@ module ps2_rxtx#( localparam CLKWAIT_US = 1; -localparam TOUT_US = 150; +localparam TOUT_US = 200; localparam CLKWAIT_TICKS = int'(CLKWAIT_US*CLK_FREQ/1e6) + 1'b1; localparam TOUT_TICKS = int'(TOUT_US*CLK_FREQ/1e6) + 1'b1; reg [$clog2(TOUT_TICKS)-1:0] timer;