You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, artiq_sinara_tester works fine with both types; what's actually wrong in this case?
@Spaqin : I only know that Creotech gave us the workaround described above for a crate that contains 5x AD9910 Urukul and 1x AD9912 Urukul. I have not yet tested anything myself.
Bug Report
device_db.py
is generated in the usual manner withartiq_ddb_template
,then
self.setattr_device(f"urukul5_cpld"); self.urukul5_cpld.init()
will not have the desired effect for the AD9912 Urukuls. (I think, at least.)Fact is that the following work-around is suggested by knowledgeable people:
import urukul_workaround
todevice_db.py
. Createurukul_workaround.py
in the same directory asdevice.py
with contents:device_db["urukul5_cpld"]
for all AD9912 Urukuls indevice_db.py
and change"module": "artiq.coredevice.urukul"
to"module": "urukul_workaround"
.I don't want to execute the above steps manually every single time, so I have written short script that executes them automatically.
Suggested bug fix
EITHER make
artiq_ddb_template
execute the above steps. The relevant lines are:OR fix whatever needs to be fixed under the hood to let AD9910 Urukuls and AD9912 Urukuls find their CPLD classes correctly.
The text was updated successfully, but these errors were encountered: