mibuild/sim: remove hack, the issue was in gateware (padding)

This commit is contained in:
Florent Kermarrec 2015-03-09 20:57:20 +01:00
parent 8e09a86e4f
commit aa609bee15

View file

@ -222,7 +222,7 @@ int ethernet_service(struct sim *s) {
s->eth_txbuffer_len++; s->eth_txbuffer_len++;
} else { } else {
if (s->eth_last_source_stb) { 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; s->eth_txbuffer_len = 0;
} }
} }