From 89a30b6f7cdc93414939122daa6292b3f9ac7801 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 8 Oct 2016 00:02:38 +0800 Subject: [PATCH] phaser: error on startup kernel --- artiq/examples/phaser/startup_kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/examples/phaser/startup_kernel.py b/artiq/examples/phaser/startup_kernel.py index 24b5b3fb5..1246da37b 100644 --- a/artiq/examples/phaser/startup_kernel.py +++ b/artiq/examples/phaser/startup_kernel.py @@ -26,7 +26,7 @@ class StartupKernel(EnvExperiment): AD9516_LONG_INSTRUCTION | AD9516_LONG_INSTRUCTION_MIRRORED | AD9516_SDO_ACTIVE | AD9516_SDO_ACTIVE_MIRRORED) if self.ad9154.clock_read(AD9516_PART_ID) != 0x41: - return + raise ValueError("AD9516 not found") # use clk input, dclk=clk/4 self.ad9154.clock_write(AD9516_PFD_AND_CHARGE_PUMP, 1*AD9516_PLL_POWER_DOWN |