2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

rtio: fix o_error csr size

This commit is contained in:
Sebastien Bourdeauducq 2014-09-25 12:54:26 +08:00
parent 37b0811a05
commit 538aaa4c14

View File

@ -161,7 +161,7 @@ class RTIO(Module, AutoCSR):
self._r_o_writable = CSRStatus()
self._r_o_we = CSR()
self._r_o_replace = CSR()
self._r_o_error = CSRStatus(2)
self._r_o_error = CSRStatus()
self._r_o_level = CSRStatus(bits_for(ofifo_depth))
self._r_i_timestamp = CSRStatus(counter_width+fine_ts_width)