mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
artiq_sinara_tester: fix urukul eeprom_word type
This commit is contained in:
parent
614dfde33d
commit
d6f1c5984a
@ -318,7 +318,7 @@ class SinaraTester(EnvExperiment):
|
||||
offset = channel_dev.sync_data.eeprom_offset
|
||||
sync_delay_seed, io_update_delay = self.calibrate_urukul(channel_dev)
|
||||
print("{}\t{} {}".format(channel_name, sync_delay_seed, io_update_delay))
|
||||
eeprom_word = (sync_delay_seed << 24) | (io_update_delay << 16)
|
||||
eeprom_word = int32((sync_delay_seed << 24) | (io_update_delay << 16))
|
||||
eeprom.write_i32(offset, eeprom_word)
|
||||
print("...done")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user