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:
@ -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;
|
||||
|
Reference in New Issue
Block a user