forked from M-Labs/artiq
1
0
Fork 0

rtio: remove legacy i_overflow_reset CSR

This commit is contained in:
Sebastien Bourdeauducq 2020-08-06 17:52:32 +08:00
parent 5f36e49f91
commit 504f72a02c
2 changed files with 0 additions and 4 deletions

View File

@ -112,7 +112,6 @@ mod imp {
} }
if status & RTIO_I_STATUS_OVERFLOW != 0 { if status & RTIO_I_STATUS_OVERFLOW != 0 {
csr::rtio::i_overflow_reset_write(1);
raise!("RTIOOverflow", raise!("RTIOOverflow",
"RTIO input overflow on channel {0}", "RTIO input overflow on channel {0}",
channel as i64, 0, 0); channel as i64, 0, 0);
@ -141,7 +140,6 @@ mod imp {
} }
if status & RTIO_I_STATUS_OVERFLOW != 0 { if status & RTIO_I_STATUS_OVERFLOW != 0 {
csr::rtio::i_overflow_reset_write(1);
raise!("RTIOOverflow", raise!("RTIOOverflow",
"RTIO input overflow on channel {0}", "RTIO input overflow on channel {0}",
channel as i64, 0, 0); channel as i64, 0, 0);
@ -167,7 +165,6 @@ mod imp {
} }
if status & RTIO_I_STATUS_OVERFLOW != 0 { if status & RTIO_I_STATUS_OVERFLOW != 0 {
csr::rtio::i_overflow_reset_write(1);
raise!("RTIOOverflow", raise!("RTIOOverflow",
"RTIO input overflow on channel {0}", "RTIO input overflow on channel {0}",
channel as i64, 0, 0); channel as i64, 0, 0);

View File

@ -79,7 +79,6 @@ class KernelInitiator(Module, AutoCSR):
self.i_data = CSRStatus(32) self.i_data = CSRStatus(32)
self.i_timestamp = CSRStatus(64) self.i_timestamp = CSRStatus(64)
self.i_status = CSRStatus(4) self.i_status = CSRStatus(4)
self.i_overflow_reset = CSR()
self.counter = CSRStatus(64) self.counter = CSRStatus(64)
self.counter_update = CSR() self.counter_update = CSR()