forked from M-Labs/artiq
1
0
Fork 0

Revert "LaneDistributor: try equivalent spread logic"

This reverts commit 8b70db5f17.

Just a shot into the dark.
This commit is contained in:
Robert Jördens 2018-03-07 11:34:51 +00:00
parent a6d1b030c1
commit 4af7600b2d
1 changed files with 3 additions and 3 deletions

View File

@ -176,10 +176,10 @@ class LaneDistributor(Module):
# current lane has been full, spread events by switching to the next. # current lane has been full, spread events by switching to the next.
if enable_spread: if enable_spread:
do_write_r = Signal() current_lane_writable_r = Signal(reset=1)
self.sync += [ self.sync += [
do_write_r.eq(do_write), current_lane_writable_r.eq(current_lane_writable),
If(do_write_r & ~current_lane_writable, If(~current_lane_writable_r & current_lane_writable,
force_laneB.eq(1) force_laneB.eq(1)
), ),
If(do_write, If(do_write,