projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc88319
)
flow/actor/filter_endpoints: deterministic order
author
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Thu, 14 Mar 2013 11:20:18 +0000
(12:20 +0100)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Thu, 14 Mar 2013 11:20:18 +0000
(12:20 +0100)
migen/flow/actor.py
patch
|
blob
|
history
diff --git
a/migen/flow/actor.py
b/migen/flow/actor.py
index ce46638d22aab126a7f1eafa355364d3090efb10..0b286342d451a4bb43b51b15c91b45ef0c6c2c37 100644
(file)
--- a/
migen/flow/actor.py
+++ b/
migen/flow/actor.py
@@
-54,7
+54,7
@@
class Actor(HUID):
return self.endpoints[ep].token
def filter_endpoints(self, cl):
- return
[k for k, v in self.endpoints.items() if isinstance(v, cl)]
+ return
sorted(k for k, v in self.endpoints.items() if isinstance(v, cl))
def sinks(self):
return self.filter_endpoints(Sink)