eth: Fix RX BER monitor when gearbox is enabled

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-06-15 12:54:01 -07:00
parent 2e1619a045
commit 70c0e3d52a

View File

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