flow: EndpointHook -> EndpointSimHook

This commit is contained in:
Sebastien Bourdeauducq 2012-08-03 12:58:41 +02:00
parent 30f1e77c18
commit 37fe6d64c3
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from migen.fhdl.structure import *
from migen.flow.actor import * from migen.flow.actor import *
from migen.sim.generic import PureSimulable from migen.sim.generic import PureSimulable
class EndpointHook(PureSimulable): class EndpointSimHook(PureSimulable):
def __init__(self, endpoint): def __init__(self, endpoint):
self.endpoint = endpoint self.endpoint = endpoint

View File

@ -1,6 +1,6 @@
from migen.flow.hooks import * from migen.flow.hooks import *
class EndpointReporter(EndpointHook): class EndpointReporter(EndpointSimHook):
def __init__(self, endpoint): def __init__(self, endpoint):
super().__init__(endpoint) super().__init__(endpoint)
self.reset() self.reset()