Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sim/proxy: support lists

  • Loading branch information...
commit d3c6b8d16f3a6f09bb7ea19c322cb9913c13fc60 1 parent f3ae22f
@sbourdeauducq sbourdeauducq authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  migen/sim/generic.py
View
2  migen/sim/generic.py
@@ -148,6 +148,8 @@ def __getattr__(self, name):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.