flow: EndpointHook -> EndpointSimHook
This commit is contained in:
parent
30f1e77c18
commit
37fe6d64c3
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue