Skip to content
Permalink
Browse files

urukul: use board_data instead of user_data to store calibration in E…

…EPROM
  • Loading branch information...
sbourdeauducq committed Mar 15, 2019
1 parent a01425b commit c2622297bd4dfed7b0c406f3a359e20e44c2c4d5
Showing with 4 additions and 4 deletions.
  1. +2 −2 artiq/examples/kasli_tester/device_db.py
  2. +2 −2 artiq/frontend/artiq_ddb_template.py
@@ -129,8 +129,8 @@
"chip_select": 4 + i,
"cpld_device": "urukul0_cpld",
"sw_device": "ttl_urukul0_sw" + str(i),
"sync_delay_seed": "eeprom_urukul0:" + str(48 + 4*i),
"io_update_delay": "eeprom_urukul0:" + str(48 + 4*i),
"sync_delay_seed": "eeprom_urukul0:" + str(64 + 4*i),
"io_update_delay": "eeprom_urukul0:" + str(64 + 4*i),
}
}

@@ -186,8 +186,8 @@ def process_urukul(self, rtio_offset, peripheral):
chip_select=4 + i,
uchn=i,
pll_vco=",\n \"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "",
sync_delay_seed=",\n \"sync_delay_seed\": \"eeprom_{}:{}\"".format(urukul_name, 48 + 4*i) if synchronization else "",
io_update_delay=",\n \"io_update_delay\": \"eeprom_{}:{}\"".format(urukul_name, 48 + 4*i) if synchronization else "")
sync_delay_seed=",\n \"sync_delay_seed\": \"eeprom_{}:{}\"".format(urukul_name, 64 + 4*i) if synchronization else "",
io_update_delay=",\n \"io_update_delay\": \"eeprom_{}:{}\"".format(urukul_name, 64 + 4*i) if synchronization else "")
elif dds == "ad9912":
self.gen("""
device_db["{name}_ch{uchn}"] = {{

0 comments on commit c262229

Please sign in to comment.
You can’t perform that action at this time.