Remove inherit from object

This commit is contained in:
Alex Forencich
2020-12-24 14:40:03 -08:00
parent 4b768e267d
commit 318f48785a
10 changed files with 16 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ from .gmii import GmiiFrame
from .constants import EthPre
class RgmiiSource(object):
class RgmiiSource:
def __init__(self, data, ctrl, clock, reset=None, enable=None, mii_select=None, *args, **kwargs):
self.log = logging.getLogger(f"cocotb.{data._path}")
@@ -169,7 +169,7 @@ class RgmiiSource(object):
self.ctrl <= en
class RgmiiSink(object):
class RgmiiSink:
def __init__(self, data, ctrl, clock, reset=None, enable=None, mii_select=None, *args, **kwargs):
self.log = logging.getLogger(f"cocotb.{data._path}")