forked from M-Labs/artiq
1
0
Fork 0

sed: reset `valid` in output sorter

This commit is contained in:
Robert Jördens 2018-03-23 11:10:41 +00:00
parent 0635907699
commit 1553fc8c7d
1 changed files with 6 additions and 3 deletions

View File

@ -56,9 +56,12 @@ class OutputNetwork(Module):
step_input = self.input step_input = self.input
for step in boms_steps_pairs(lane_count): for step in boms_steps_pairs(lane_count):
step_output = [Record(layouts.output_network_node(seqn_width, layout_payload), step_output = []
for i in range(lane_count):
rec = Record(layouts.output_network_node(seqn_width, layout_payload),
reset_less=True) reset_less=True)
for _ in range(lane_count)] rec.valid.reset_less = False
step_output.append(rec)
for node1, node2 in step: for node1, node2 in step:
nondata_difference = Signal() nondata_difference = Signal()