From 97f9c9c34f756a609d76bee69f6ba6319c19255f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 21 Oct 2014 23:46:14 +0800 Subject: [PATCH] doc: add precisions on RTIO error handling --- artiq/coredevice/runtime_exceptions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/artiq/coredevice/runtime_exceptions.py b/artiq/coredevice/runtime_exceptions.py index 5d2fcef08..0d86bc6c9 100644 --- a/artiq/coredevice/runtime_exceptions.py +++ b/artiq/coredevice/runtime_exceptions.py @@ -16,6 +16,8 @@ class RTIOUnderflow(RuntimeException): """Raised when the CPU fails to submit a RTIO event early enough (with respect to the event's timestamp). + Causes a reset of the RTIO core, except its time counter. + """ eid = 1 @@ -25,6 +27,9 @@ class RTIOUnderflow(RuntimeException): class RTIOSequenceError(RuntimeException): """Raised when an event was not submitted with an increasing timestamp. + The offending event is discarded and RTIO operation is not affected + further. + """ eid = 2 @@ -33,6 +38,8 @@ class RTIOOverflow(RuntimeException): """Raised when at least one event could not be registered into the RTIO input FIFO because it was full (CPU not reading fast enough). + Causes a reset of the RTIO core, except its time counter. + """ eid = 3