Skip to content

Commit

Permalink
mibuild/sim: remove hack, the issue was in gateware (padding)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Mar 9, 2015
1 parent 8e09a86 commit aa609be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mibuild/sim/dut_tb.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit aa609be

Please sign in to comment.