soc_core: remove add_cpu_or_bridge retro-compatibility (most of the designs have...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 28 Sep 2019 17:01:41 +0000 (19:01 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 28 Sep 2019 17:01:41 +0000 (19:01 +0200)
litex/soc/integration/soc_core.py

index e38fdd6a7f260d842f2b555acba0b80f13985a81..60e5a7c27580c42eb4ff675842fbc344b661d82d 100644 (file)
@@ -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():