diff --git a/pcie-wb/wishbone.c b/pcie-wb/wishbone.c index 7f24f94efa7f0ab3fa82bc71ce68d6678ba831b5..e2d4c3157c088de7bd909ad75bfa19f574145fb7 100644 --- a/pcie-wb/wishbone.c +++ b/pcie-wb/wishbone.c @@ -91,11 +91,11 @@ static void etherbone_process(struct etherbone_context* context) if (left < record_len) break; /* Configure byte enable and raise cycle line */ - wops->byteenable(wb, be); if (context->state == idle) { wops->cycle(wb, 1); context->state = cycle; } + wops->byteenable(wb, be); /* Process the writes */ if (wcount > 0) {