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

@@ -43,7 +43,7 @@ AxiLiteReadRespCmd = namedtuple("AxiLiteReadRespCmd", ["address", "length", "cyc
AxiLiteReadResp = namedtuple("AxiLiteReadResp", ["address", "data", "resp"])
class AxiLiteMasterWrite(object):
class AxiLiteMasterWrite:
def __init__(self, entity, name, clock, reset=None):
self.log = logging.getLogger(f"cocotb.{entity._name}.{name}")
@@ -228,7 +228,7 @@ class AxiLiteMasterWrite(object):
self.in_flight_operations -= 1
class AxiLiteMasterRead(object):
class AxiLiteMasterRead:
def __init__(self, entity, name, clock, reset=None):
self.log = logging.getLogger(f"cocotb.{entity._name}.{name}")
@@ -398,7 +398,7 @@ class AxiLiteMasterRead(object):
self.in_flight_operations -= 1
class AxiLiteMaster(object):
class AxiLiteMaster:
def __init__(self, entity, name, clock, reset=None):
self.write_if = None
self.read_if = None