From: Sebastien Bourdeauducq Date: Sat, 11 May 2013 15:28:41 +0000 (+0200) Subject: fhdl/tools/_TargetLister: do not include array keys in targets X-Git-Tag: 24jan2021_ls180~2099^2~579 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f20294671753230ae274a5c82ea340caf2c6b0b8;p=litex.git fhdl/tools/_TargetLister: do not include array keys in targets --- 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()