From f26ad97624f866d47fa5230433c281ff2174551f Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sun, 5 Apr 2015 00:20:23 -0600 Subject: [PATCH] decorators: fix ControlInserter --- migen/fhdl/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2