forked from M-Labs/artiq
rtio: fix FIFO WE
This commit is contained in:
parent
0cb18d58a8
commit
5f58789592
@ -54,7 +54,7 @@ class RTIO(Module, AutoCSR):
|
||||
channel_o.reset.eq(self._r_reset.storage),
|
||||
channel_o.event.timestamp.eq(self._r_o_timestamp.storage),
|
||||
channel_o.event.value.eq(self._r_o_value.storage),
|
||||
channel_o.we.eq(self._r_o_we.re & (self._r_chan_sel == n))
|
||||
channel_o.we.eq(self._r_o_we.re & (self._r_chan_sel.storage == n))
|
||||
]
|
||||
|
||||
channel_o = Array(channel_os)[self._r_chan_sel.storage]
|
||||
|
Loading…
Reference in New Issue
Block a user