From d3c6b8d16f3a6f09bb7ea19c322cb9913c13fc60 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 1 Apr 2012 17:19:53 +0200 Subject: [PATCH] sim/proxy: support lists --- migen/sim/generic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migen/sim/generic.py b/migen/sim/generic.py index 12e40ed2..b0d369d9 100644 --- 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) -- 2.30.2