projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ae22f
)
sim/proxy: support lists
author
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sun, 1 Apr 2012 15:19:53 +0000
(17:19 +0200)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sun, 1 Apr 2012 15:19:53 +0000
(17:19 +0200)
migen/sim/generic.py
patch
|
blob
|
history
diff --git
a/migen/sim/generic.py
b/migen/sim/generic.py
index 12e40ed2b9b635967425d0f7d63e18c584531554..b0d369d9afbe1ca359ae3b883b287098788a4516 100644
(file)
--- a/
migen/sim/generic.py
+++ b/
migen/sim/generic.py
@@
-148,6
+148,8
@@
class Proxy:
item = getattr(self._obj, name)
if isinstance(item, Signal):
return self._sim.rd(item)
+ elif isinstance(item, list):
+ return [Proxy(self._sim, si) for si in item]
else:
return Proxy(self._sim, item)