From 4af7600b2de785457fda4ac3cf3dfe88fe720966 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 7 Mar 2018 11:34:51 +0000 Subject: [PATCH] Revert "LaneDistributor: try equivalent spread logic" This reverts commit 8b70db5f17f46f7d5ab66a5fafe63af6a4a5c842. Just a shot into the dark. --- artiq/gateware/rtio/sed/lane_distributor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/gateware/rtio/sed/lane_distributor.py b/artiq/gateware/rtio/sed/lane_distributor.py index 9e727393d..a34e98519 100644 --- a/artiq/gateware/rtio/sed/lane_distributor.py +++ b/artiq/gateware/rtio/sed/lane_distributor.py @@ -176,10 +176,10 @@ class LaneDistributor(Module): # current lane has been full, spread events by switching to the next. if enable_spread: - do_write_r = Signal() + current_lane_writable_r = Signal(reset=1) self.sync += [ - do_write_r.eq(do_write), - If(do_write_r & ~current_lane_writable, + current_lane_writable_r.eq(current_lane_writable), + If(~current_lane_writable_r & current_lane_writable, force_laneB.eq(1) ), If(do_write,