diff --git a/rtio/rtlink.py b/rtio/rtlink.py index cd9d0e0..8fb5214 100644 --- a/rtio/rtlink.py +++ b/rtio/rtlink.py @@ -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