projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e09a86
)
mibuild/sim: remove hack, the issue was in gateware (padding)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2015 19:57:20 +0000
(20:57 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2015 19:57:20 +0000
(20:57 +0100)
mibuild/sim/dut_tb.cpp
patch
|
blob
|
history
diff --git
a/mibuild/sim/dut_tb.cpp
b/mibuild/sim/dut_tb.cpp
index 35ca08ba0d60826f7e41d322f91df146626c61c2..7533094be7090f737798165ed4ebc43aba243a1d 100644
(file)
--- 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;
}
}