From 6da8eb906fc67b48b50038187c08116a3ac6d777 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 9 Mar 2013 19:10:47 +0100 Subject: [PATCH] fhdl/autofragment: empty build_fragment by default --- 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 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) -- 2.30.2