From: Florent Kermarrec Date: Sat, 28 Sep 2019 17:01:41 +0000 (+0200) Subject: soc_core: remove add_cpu_or_bridge retro-compatibility (most of the designs have... X-Git-Tag: 24jan2021_ls180~974 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9095b80e89f5f0ca3571eeab5528d78ef1b7374b;p=litex.git soc_core: remove add_cpu_or_bridge retro-compatibility (most of the designs have been updated since the change) --- diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index e38fdd6a..60e5a7c2 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -338,11 +338,6 @@ class SoCCore(Module): raise NotImplementedError("More than one CPU is not supported") self.submodules.cpu = cpu - def add_cpu_or_bridge(self, cpu_or_bridge): - deprecated_warning("SoCCore's \"add_cpu_or_bridge\" call to \"add_cpu\"") - self.add_cpu(cpu_or_bridge) - self.cpu_or_bridge = self.cpu - def add_interrupt(self, interrupt_name, interrupt_id=None, allow_user_defined=False): # Check that interrupt_name is not already used if interrupt_name in self.soc_interrupt_map.keys():