From: Robert Jordens Date: Sun, 5 Apr 2015 06:20:23 +0000 (-0600) Subject: decorators: fix ControlInserter X-Git-Tag: 24jan2021_ls180~2099^2~125 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f26ad97624f866d47fa5230433c281ff2174551f;p=litex.git decorators: fix ControlInserter --- diff --git a/migen/fhdl/decorators.py b/migen/fhdl/decorators.py index b6e906cd..62cda094 100644 --- a/migen/fhdl/decorators.py +++ b/migen/fhdl/decorators.py @@ -81,7 +81,7 @@ class ControlInserter(ModuleTransformer): to_insert = [(getattr(i, self.control_name), cdn)] else: to_insert = [(getattr(i, self.control_name + "_" + cdn), cdn) - for cdn in clock_domains] + for cdn in self.clock_domains] self.transform_fragment_insert(i, f, to_insert) class CEInserter(ControlInserter):