From 70c0e3d52a58fdbc686d2898f9b6528c955422a9 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sun, 15 Jun 2025 12:54:01 -0700 Subject: [PATCH] eth: Fix RX BER monitor when gearbox is enabled Signed-off-by: Alex Forencich --- src/eth/rtl/taxi_eth_phy_10g_rx_ber_mon.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eth/rtl/taxi_eth_phy_10g_rx_ber_mon.sv b/src/eth/rtl/taxi_eth_phy_10g_rx_ber_mon.sv index 223d79f..8592018 100644 --- a/src/eth/rtl/taxi_eth_phy_10g_rx_ber_mon.sv +++ b/src/eth/rtl/taxi_eth_phy_10g_rx_ber_mon.sv @@ -84,7 +84,7 @@ always_comb begin end end end - if (time_count_reg == 0) begin + if (time_count_reg == 0 && serdes_rx_hdr_valid) begin // 125 us timer expired ber_count_next = 4'd0; time_count_next = COUNT_125US_INT;