fhdl/autofragment: fix submodules

This commit is contained in:
Sebastien Bourdeauducq 2013-03-09 21:15:38 +01:00
parent 6da8eb906f
commit f53acb92e7
1 changed files with 1 additions and 1 deletions

View File

@ -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):