fix SimActor get_fragment
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 12 Jun 2012 15:52:08 +0000 (17:52 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 12 Jun 2012 15:52:08 +0000 (17:52 +0200)
migen/actorlib/sim.py

index d3f5a66f888be2d888a947f39a856762f04b9e65..b79019150589fd64cece5091bf0fae318ebd1b7a 100644 (file)
@@ -13,7 +13,7 @@ class Token:
 #
 # NB: the possibility to push several tokens at once is important to interact
 # with actors that only accept a group of tokens when all of them are available.
-class SimActor(Actor, PureSimulable):
+class SimActor(PureSimulable, Actor):
        def __init__(self, generator, *endpoint_descriptions, **misc):
                self.generator = generator
                self.active = set()