mirror of https://github.com/m-labs/artiq.git
Revert "LaneDistributor: try equivalent spread logic"
This reverts commit 8b70db5f17
.
Just a shot into the dark.
This commit is contained in:
parent
a6d1b030c1
commit
4af7600b2d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue