From 1553fc8c7df7150c00ce853dea71fc6840606f7e Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 23 Mar 2018 11:10:41 +0000 Subject: [PATCH] sed: reset `valid` in output sorter --- artiq/gateware/rtio/sed/output_network.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/artiq/gateware/rtio/sed/output_network.py b/artiq/gateware/rtio/sed/output_network.py index 8be0ef0ef..58e566a29 100644 --- a/artiq/gateware/rtio/sed/output_network.py +++ b/artiq/gateware/rtio/sed/output_network.py @@ -56,9 +56,12 @@ class OutputNetwork(Module): step_input = self.input for step in boms_steps_pairs(lane_count): - step_output = [Record(layouts.output_network_node(seqn_width, layout_payload), - reset_less=True) - for _ in range(lane_count)] + step_output = [] + for i in range(lane_count): + rec = Record(layouts.output_network_node(seqn_width, layout_payload), + reset_less=True) + rec.valid.reset_less = False + step_output.append(rec) for node1, node2 in step: nondata_difference = Signal()