From 6c2aefd00f4a66215c42ef912b35708d465f5312 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 8 May 2022 17:21:39 -0700 Subject: Make the calculation for OVERSAMPLE more explicit. --- hdl/top.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hdl/top.sv') diff --git a/hdl/top.sv b/hdl/top.sv index 6512185..a58ff0e 100644 --- a/hdl/top.sv +++ b/hdl/top.sv @@ -97,7 +97,7 @@ module top rs232_rx #( .PARITY(1) - , .OVERSAMPLE(433) + , .OVERSAMPLE((50_000_000 / 115200)-1) ) wirerx ( .clock(rs232_rx_clock) , .reset(internal_reset) -- cgit v1.2.3