forked from M-Labs/artiq
remove kernel_attr (inline transform is now smart enough to autodetect)
This commit is contained in:
parent
a29d7ec6fe
commit
f54a2f93d2
|
@ -23,8 +23,6 @@ class DDS(AutoContext):
|
|||
self.previous_frequency = 0*MHz
|
||||
self.sw = rtio.RTIOOut(self, channel=self.rtio_switch)
|
||||
|
||||
kernel_attr = "previous_frequency"
|
||||
|
||||
@portable
|
||||
def frequency_to_ftw(self, frequency):
|
||||
"""Returns the frequency tuning word corresponding to the given
|
||||
|
|
|
@ -18,8 +18,6 @@ class LLRTIOOut(AutoContext):
|
|||
self.previous_timestamp = int64(0) # in RTIO cycles
|
||||
self._set_oe()
|
||||
|
||||
kernel_attr = "previous_timestamp"
|
||||
|
||||
@kernel
|
||||
def _set_oe(self):
|
||||
syscall("rtio_oe", self.channel, 1)
|
||||
|
@ -62,8 +60,6 @@ class _RTIOBase(AutoContext):
|
|||
self.previous_timestamp = int64(0) # in RTIO cycles
|
||||
self.previous_value = 0
|
||||
|
||||
kernel_attr = "previous_timestamp previous_value"
|
||||
|
||||
@kernel
|
||||
def _set_oe(self, oe):
|
||||
syscall("rtio_oe", self.channel, oe)
|
||||
|
|
|
@ -123,8 +123,6 @@ class CompoundPDQ2(AutoContext):
|
|||
self.current_frame = -1
|
||||
self.next_sn = -1
|
||||
|
||||
kernel_attr = "current_frame next_sn"
|
||||
|
||||
def create_frame(self):
|
||||
return _Frame(self.core)
|
||||
|
||||
|
|
Loading…
Reference in New Issue