From 475f897a31ec3a75cf003ffa710bffa439365bd0 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 20 Oct 2015 16:04:47 -0700 Subject: [PATCH] Unconditional increment length --- rtl/eth_mac_10g_tx.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtl/eth_mac_10g_tx.v b/rtl/eth_mac_10g_tx.v index f2b82358..8581081a 100644 --- a/rtl/eth_mac_10g_tx.v +++ b/rtl/eth_mac_10g_tx.v @@ -355,6 +355,8 @@ always @* begin update_crc = 1; input_axis_tready_next = 1; + frame_ptr_next = frame_ptr_reg + 8; + xgmii_txd_next = input_tdata_reg; xgmii_txc_next = 8'b00000000; @@ -362,7 +364,6 @@ always @* begin input_tkeep_next = input_axis_tkeep; if (input_axis_tvalid) begin - frame_ptr_next = frame_ptr_reg + 8; if (input_axis_tlast) begin frame_ptr_next = frame_ptr_reg + keep2count(input_axis_tkeep); input_axis_tready_next = 0;