From: Sebastien Bourdeauducq Date: Sat, 9 Mar 2013 20:15:38 +0000 (+0100) Subject: fhdl/autofragment: fix submodules X-Git-Tag: 24jan2021_ls180~2099^2~672 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f53acb92e73f68caf936303b79a6ec2b4c9ad371;p=litex.git fhdl/autofragment: fix submodules --- 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):