mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fix SimActor get_fragment
This commit is contained in:
parent
973c00938d
commit
ce9e35b8ef
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Token:
|
||||||
#
|
#
|
||||||
# NB: the possibility to push several tokens at once is important to interact
|
# 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.
|
# 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):
|
def __init__(self, generator, *endpoint_descriptions, **misc):
|
||||||
self.generator = generator
|
self.generator = generator
|
||||||
self.active = set()
|
self.active = set()
|
||||||
|
|
Loading…
Reference in a new issue