From aa609bee15775e483fc1a79c3c5cb2c4e1c11933 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 9 Mar 2015 20:57:20 +0100 Subject: [PATCH] mibuild/sim: remove hack, the issue was in gateware (padding) --- mibuild/sim/dut_tb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mibuild/sim/dut_tb.cpp b/mibuild/sim/dut_tb.cpp index 35ca08ba..7533094b 100644 --- a/mibuild/sim/dut_tb.cpp +++ b/mibuild/sim/dut_tb.cpp @@ -222,7 +222,7 @@ int ethernet_service(struct sim *s) { s->eth_txbuffer_len++; } else { if (s->eth_last_source_stb) { - eth_write_tap(s, s->eth_txbuffer, s->eth_txbuffer_len-1); // XXX FIXME software or gateware? + eth_write_tap(s, s->eth_txbuffer, s->eth_txbuffer_len); s->eth_txbuffer_len = 0; } } -- 2.30.2