forked from M-Labs/artiq
urukul: reg based io-update is a kernel
This commit is contained in:
parent
5d3c76fd50
commit
ae80bab180
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user