kasli_tester: fix AD9912 support

This commit is contained in:
Sebastien Bourdeauducq 2018-07-06 15:43:25 +08:00
parent 509562ddbf
commit ac3f360c26
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ class KasliTester(EnvExperiment):
self.urukul_cplds[name] = self.get_device(name) self.urukul_cplds[name] = self.get_device(name)
elif (module, cls) == ("artiq.coredevice.ad9910", "AD9910"): elif (module, cls) == ("artiq.coredevice.ad9910", "AD9910"):
self.urukuls[name] = self.get_device(name) self.urukuls[name] = self.get_device(name)
elif (module, cls) == ("artiq.coredevice.ad9912", "AD9912"):
self.urukuls[name] = self.get_device(name)
elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"): elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"):
self.samplers[name] = self.get_device(name) self.samplers[name] = self.get_device(name)
elif (module, cls) == ("artiq.coredevice.zotino", "Zotino"): elif (module, cls) == ("artiq.coredevice.zotino", "Zotino"):