diff --git a/migen/flow/hooks.py b/migen/flow/hooks.py index 1afa1868f..9165e6418 100644 --- a/migen/flow/hooks.py +++ b/migen/flow/hooks.py @@ -2,7 +2,7 @@ from migen.fhdl.structure import * from migen.flow.actor import * from migen.sim.generic import PureSimulable -class EndpointHook(PureSimulable): +class EndpointSimHook(PureSimulable): def __init__(self, endpoint): self.endpoint = endpoint diff --git a/migen/flow/perftools.py b/migen/flow/perftools.py index 0deca3079..aa13f9992 100644 --- a/migen/flow/perftools.py +++ b/migen/flow/perftools.py @@ -1,6 +1,6 @@ from migen.flow.hooks import * -class EndpointReporter(EndpointHook): +class EndpointReporter(EndpointSimHook): def __init__(self, endpoint): super().__init__(endpoint) self.reset()