From 3160378614561035829d55f18a37f59063109129 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Wed, 27 Apr 2022 17:31:44 +0800 Subject: [PATCH] almazny: fix missing (but unused) core --- artiq/coredevice/mirny.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/mirny.py b/artiq/coredevice/mirny.py index 44f08f1dc..9aa7f88d8 100644 --- a/artiq/coredevice/mirny.py +++ b/artiq/coredevice/mirny.py @@ -192,7 +192,8 @@ class Almazny: :param host_mirny - Mirny device Almazny is connected to """ - + + core: KernelInvariant[Core] mirny_cpld: KernelInvariant[Mirny] att_mu: Kernel[list[int32]] channel_sw: Kernel[list[int32]] @@ -200,6 +201,7 @@ class Almazny: def __init__(self, dmgr, host_mirny): self.mirny_cpld = dmgr.get(host_mirny) + self.core = self.mirny_cpld.core self.att_mu = [0x3f] * 4 self.channel_sw = [0] * 4 self.output_enable = False