1
0
mirror of https://github.com/UzixLS/zx-sizif-xxs.git synced 2025-07-19 07:11:28 +03:00

fix support of some ps/2 keyboards with slow clock

This commit is contained in:
Eugene Lozovoy
2023-10-26 21:01:47 +03:00
parent 671a748207
commit 48ad108e9c

View File

@ -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;