Remove redundant (object) in rtio.rtlink
This commit is contained in:
parent
1f838186e8
commit
fd1b469322
|
@ -1,6 +1,6 @@
|
||||||
from nmigen import *
|
from nmigen import *
|
||||||
|
|
||||||
class OInterface(object):
|
class OInterface:
|
||||||
def __init__(self, data_width, address_width=0,
|
def __init__(self, data_width, address_width=0,
|
||||||
fine_ts_width=0, enable_replace=True,
|
fine_ts_width=0, enable_replace=True,
|
||||||
delay=0):
|
delay=0):
|
||||||
|
@ -32,7 +32,7 @@ class OInterface(object):
|
||||||
other.enable_replace,
|
other.enable_replace,
|
||||||
other.delay)
|
other.delay)
|
||||||
|
|
||||||
class IInterface(object):
|
class IInterface:
|
||||||
def __init__(self, data_width,
|
def __init__(self, data_width,
|
||||||
timestamped=True, fine_ts_width=0, delay=0):
|
timestamped=True, fine_ts_width=0, delay=0):
|
||||||
self.stb = Signal()
|
self.stb = Signal()
|
||||||
|
@ -58,7 +58,7 @@ class IInterface(object):
|
||||||
get_fine_ts_width(other),
|
get_fine_ts_width(other),
|
||||||
other.delay)
|
other.delay)
|
||||||
|
|
||||||
class Interface(object):
|
class Interface:
|
||||||
def __init__(self, o, i=None):
|
def __init__(self, o, i=None):
|
||||||
self.o = o
|
self.o = o
|
||||||
self.i = i
|
self.i = i
|
||||||
|
|
Loading…
Reference in New Issue