From: Sebastien Bourdeauducq Date: Sat, 9 Mar 2013 18:10:47 +0000 (+0100) Subject: fhdl/autofragment: empty build_fragment by default X-Git-Tag: 24jan2021_ls180~2099^2~673 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6da8eb906fc67b48b50038187c08116a3ac6d777;p=litex.git fhdl/autofragment: empty build_fragment by default --- diff --git a/migen/fhdl/autofragment.py b/migen/fhdl/autofragment.py index 277ad761..413b9d82 100644 --- a/migen/fhdl/autofragment.py +++ b/migen/fhdl/autofragment.py @@ -120,4 +120,4 @@ class FModule: object.__setattr__(self, name, value) def build_fragment(self): - raise NotImplementedError("FModule.build_fragment needs to be overloaded") + pass # do nothing (e.g. module has only submodules)