Remove inherit from object

This commit is contained in:
Alex Forencich
2020-12-24 14:44:42 -08:00
parent 7582067929
commit fcf6374c3c
8 changed files with 17 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ AxiReadRespCmd = namedtuple("AxiReadRespCmd", ["address", "length", "size", "cyc
AxiReadResp = namedtuple("AxiReadResp", ["address", "data", "resp", "user"])
class AxiMasterWrite(object):
class AxiMasterWrite:
def __init__(self, entity, name, clock, reset=None, max_burst_len=256):
self.log = logging.getLogger(f"cocotb.{entity._name}.{name}")
@@ -361,7 +361,7 @@ class AxiMasterWrite(object):
self.in_flight_operations -= 1
class AxiMasterRead(object):
class AxiMasterRead:
def __init__(self, entity, name, clock, reset=None, max_burst_len=256):
self.log = logging.getLogger(f"cocotb.{entity._name}.{name}")
@@ -658,7 +658,7 @@ class AxiMasterRead(object):
self.in_flight_operations -= 1
class AxiMaster(object):
class AxiMaster:
def __init__(self, entity, name, clock, reset=None, max_burst_len=256):
self.write_if = None
self.read_if = None