From f20294671753230ae274a5c82ea340caf2c6b0b8 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 11 May 2013 17:28:41 +0200 Subject: [PATCH] fhdl/tools/_TargetLister: do not include array keys in targets --- migen/fhdl/tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migen/fhdl/tools.py b/migen/fhdl/tools.py index 333bfe47..fa5e65b3 100644 --- a/migen/fhdl/tools.py +++ b/migen/fhdl/tools.py @@ -37,6 +37,10 @@ class _TargetLister(NodeVisitor): self.target_context = True self.visit(node.l) self.target_context = False + + def visit_ArrayProxy(self, node): + for choice in node.choices: + self.visit(choice) def list_signals(node): lister = _SignalLister() -- 2.30.2