From f53acb92e73f68caf936303b79a6ec2b4c9ad371 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 9 Mar 2013 21:15:38 +0100 Subject: [PATCH] fhdl/autofragment: fix submodules --- migen/fhdl/autofragment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/fhdl/autofragment.py b/migen/fhdl/autofragment.py index 413b9d82..4ff36086 100644 --- a/migen/fhdl/autofragment.py +++ b/migen/fhdl/autofragment.py @@ -91,7 +91,7 @@ class FModule: if hasattr(self, "do_simulation"): self._fragment.sim.append(self.do_simulation) for submodule in self._submodules: - f += submodule.get_fragment() + self._fragment += submodule.get_fragment() if self.auto_attr: for x in self.__dict__.values(): if isinstance(x, Special): -- 2.30.2