From 32d889b20dc4deec356a644167d0e867429b126c Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 16 Jan 2019 13:26:14 -0800 Subject: [PATCH] Remove unreachable code --- rtl/axis_xgmii_rx_32.v | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rtl/axis_xgmii_rx_32.v b/rtl/axis_xgmii_rx_32.v index 5e6e2012..f27730bb 100644 --- a/rtl/axis_xgmii_rx_32.v +++ b/rtl/axis_xgmii_rx_32.v @@ -353,12 +353,7 @@ always @* begin error_bad_fcs_next = 1'b1; end - if (xgmii_rxc_d1[0] && xgmii_rxd_d1[7:0] == XGMII_START) begin - // start condition - state_next = STATE_PAYLOAD; - end else begin - state_next = STATE_IDLE; - end + state_next = STATE_IDLE; end endcase end