From: Florent Kermarrec Date: Mon, 9 Mar 2015 19:57:20 +0000 (+0100) Subject: mibuild/sim: remove hack, the issue was in gateware (padding) X-Git-Tag: 24jan2021_ls180~2099^2~199 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa609bee15775e483fc1a79c3c5cb2c4e1c11933;p=litex.git mibuild/sim: remove hack, the issue was in gateware (padding) --- 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; } }