mirror of https://github.com/m-labs/artiq.git
almazny: fix missing (but unused) core
This commit is contained in:
parent
d6f1c5984a
commit
3160378614
|
@ -192,7 +192,8 @@ class Almazny:
|
||||||
|
|
||||||
:param host_mirny - Mirny device Almazny is connected to
|
:param host_mirny - Mirny device Almazny is connected to
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
core: KernelInvariant[Core]
|
||||||
mirny_cpld: KernelInvariant[Mirny]
|
mirny_cpld: KernelInvariant[Mirny]
|
||||||
att_mu: Kernel[list[int32]]
|
att_mu: Kernel[list[int32]]
|
||||||
channel_sw: Kernel[list[int32]]
|
channel_sw: Kernel[list[int32]]
|
||||||
|
@ -200,6 +201,7 @@ class Almazny:
|
||||||
|
|
||||||
def __init__(self, dmgr, host_mirny):
|
def __init__(self, dmgr, host_mirny):
|
||||||
self.mirny_cpld = dmgr.get(host_mirny)
|
self.mirny_cpld = dmgr.get(host_mirny)
|
||||||
|
self.core = self.mirny_cpld.core
|
||||||
self.att_mu = [0x3f] * 4
|
self.att_mu = [0x3f] * 4
|
||||||
self.channel_sw = [0] * 4
|
self.channel_sw = [0] * 4
|
||||||
self.output_enable = False
|
self.output_enable = False
|
||||||
|
|
Loading…
Reference in New Issue