Remove redundant (object) in rtio.rtlink

This commit is contained in:
Donald Sebastian Leung 2020-10-08 09:34:29 +08:00
parent 1f838186e8
commit fd1b469322
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
from nmigen import *
class OInterface(object):
class OInterface:
def __init__(self, data_width, address_width=0,
fine_ts_width=0, enable_replace=True,
delay=0):
@ -32,7 +32,7 @@ class OInterface(object):
other.enable_replace,
other.delay)
class IInterface(object):
class IInterface:
def __init__(self, data_width,
timestamped=True, fine_ts_width=0, delay=0):
self.stb = Signal()
@ -58,7 +58,7 @@ class IInterface(object):
get_fine_ts_width(other),
other.delay)
class Interface(object):
class Interface:
def __init__(self, o, i=None):
self.o = o
self.i = i