From 0d7dc7b144505c48533a003f08a7db7821a2678c Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 25 Jan 2016 16:41:27 -0700 Subject: [PATCH] doc: update Underflow catching example --- doc/manual/getting_started_core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/getting_started_core.rst b/doc/manual/getting_started_core.rst index aefc29a5b..7bdae5e9a 100644 --- a/doc/manual/getting_started_core.rst +++ b/doc/manual/getting_started_core.rst @@ -114,7 +114,7 @@ Instead, inside the core device, output timing is generated by the gateware and Try reducing the period of the generated waveform until the CPU cannot keep up with the generation of switching events and the underflow exception is raised. Then try catching it: :: - from artiq.coredevice.exceptions import RTIOUnderflow + from artiq.experiment import * def print_underflow():