forked from M-Labs/artiq
1
0
Fork 0

urukul: do io reset

This commit is contained in:
Robert Jördens 2018-01-03 18:41:21 +00:00
parent 28a3ee7e61
commit 7ac809f8b3
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class CPLD:
cfg = urukul_cfg(rf_sw=0, led=0, profile=0, att_le=0,
io_update=0, mask_nu=0, clk_sel=clk_sel,
sync_sel=sync_sel, rst=0, io_rst=0)
self.cfg_write(cfg | (1 << CFG_RST))
self.cfg_write(cfg | (1 << CFG_RST) | (1 << CFG_IO_RST))
delay(100*us)
self.cfg_write(cfg)
proto_rev = urukul_sta_proto_rev(self.sta_read())