forked from M-Labs/artiq
1
0
Fork 0

urukul: reg based io-update is a kernel

This commit is contained in:
Robert Jördens 2018-04-27 16:42:09 +00:00
parent 5d3c76fd50
commit ae80bab180
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class _RegIOUpdate:
def __init__(self, cpld):
self.cpld = cpld
@portable
@kernel
def pulse(self, t):
cfg = self.cpld.cfg_reg
self.cpld.cfg_write(cfg | (1 << CFG_IO_UPDATE))