Skip to content

Commit 3f8e431

Browse files
committedMar 9, 2016
rtio/core: fix syntax
1 parent 03b53c3 commit 3f8e431

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

Diff for: ‎artiq/gateware/rtio/core.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,10 @@ def __init__(self, interface, counter, fifo_depth, guard_io_cycles):
133133
# Note: replace may be asserted at the same time as collision
134134
# when addresses are different. In that case, it is a collision.
135135
self.sync.rsys += replace.eq(self.ev.timestamp == buf.timestamp)
136-
self.sync.rsys += \
137136
# Detect sequence errors on coarse timestamps only
138137
# so that they are mutually exclusive with collision errors.
139-
sequence_error.eq(self.ev.timestamp[fine_ts_width:]
140-
< buf.timestamp[fine_ts_width:])
138+
self.sync.rsys += sequence_error.eq(self.ev.timestamp[fine_ts_width:] <
139+
buf.timestamp[fine_ts_width:])
141140
if interface.enable_replace:
142141
if hasattr(self.ev, "a"):
143142
different_addresses = self.ev.a != buf.a

0 commit comments

Comments
 (0)
Please sign in to comment.