mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
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):
|
def __init__(self, cpld):
|
||||||
self.cpld = cpld
|
self.cpld = cpld
|
||||||
|
|
||||||
@portable
|
@kernel
|
||||||
def pulse(self, t):
|
def pulse(self, t):
|
||||||
cfg = self.cpld.cfg_reg
|
cfg = self.cpld.cfg_reg
|
||||||
self.cpld.cfg_write(cfg | (1 << CFG_IO_UPDATE))
|
self.cpld.cfg_write(cfg | (1 << CFG_IO_UPDATE))
|
||||||
|
Loading…
Reference in New Issue
Block a user