From 08ee91beb211bb11c1fdf886ed9911e40c7571e6 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 29 Jul 2018 01:55:51 +0100 Subject: [PATCH] ad9910: Clarify chip_select range [nfc] `assert 3 <= chip_select <= 7` is rather opaque without looking at the CPLD source code otherwise. --- artiq/coredevice/ad9910.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index 6ef26a405..59ca91855 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -39,7 +39,8 @@ class AD9910: the digital step attenuator, and the RF switch. :param chip_select: Chip select configuration. On Urukul this is an - encoded chip select and not "one-hot". + encoded chip select and not "one-hot": 3 to address multiple chips + (as configured through CFG_MASK_NU), 4-7 for individual channels. :param cpld_device: Name of the Urukul CPLD this device is on. :param sw_device: Name of the RF switch device. The RF switch is a TTLOut channel available as the :attr:`sw` attribute of this instance.