forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class RTIO(Module, AutoCSR):
self._r_o_writable = CSRStatus() self._r_o_writable = CSRStatus()
self._r_o_we = CSR() self._r_o_we = CSR()
self._r_o_replace = 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_o_level = CSRStatus(bits_for(ofifo_depth))
self._r_i_timestamp = CSRStatus(counter_width+fine_ts_width) self._r_i_timestamp = CSRStatus(counter_width+fine_ts_width)