Skip to content

Commit ffefdb9

Browse files
committedNov 22, 2016
rtio: fix counter readback
1 parent aa00627 commit ffefdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎artiq/gateware/rtio/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,4 +400,4 @@ def __init__(self, channels, full_ts_width=63, guard_io_cycles=20):
400400
self.cri.i_status.eq(Array(i_statuses)[sel])
401401
]
402402

403-
self.cri.counter.eq(self.counter.value_sys << fine_ts_width)
403+
self.comb += self.cri.counter.eq(self.counter.value_sys << fine_ts_width)

0 commit comments

Comments
 (0)
Please sign in to comment.