From: Jean THOMAS Date: Mon, 15 Jun 2020 09:13:09 +0000 (+0200) Subject: Fix ConfigBuilder instantiation in SoC base class X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c457de6b3ec2a7329791997ce2b3f650b9402a1;p=lambdasoc.git Fix ConfigBuilder instantiation in SoC base class --- diff --git a/lambdasoc/soc/base.py b/lambdasoc/soc/base.py index df5dac5..79cb6c2 100644 --- a/lambdasoc/soc/base.py +++ b/lambdasoc/soc/base.py @@ -39,8 +39,8 @@ def socproperty(cls, src_loc_at=0): class SoC: memory_map = socproperty(MemoryMap) - def build(self, build_dir="build/soc", do_build=True): - plan = ConfigBuilder.prepare(self) + def build(self, build_dir="build/soc", do_build=True, name=None): + plan = ConfigBuilder().prepare(self, build_dir, name) if not do_build: return plan