soc_core: remove add_cpu_or_bridge retro-compatibility (most of the designs have been updated since the change)
This commit is contained in:
parent
8dd2dc1ce8
commit
9095b80e89
|
@ -338,11 +338,6 @@ class SoCCore(Module):
|
||||||
raise NotImplementedError("More than one CPU is not supported")
|
raise NotImplementedError("More than one CPU is not supported")
|
||||||
self.submodules.cpu = cpu
|
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):
|
def add_interrupt(self, interrupt_name, interrupt_id=None, allow_user_defined=False):
|
||||||
# Check that interrupt_name is not already used
|
# Check that interrupt_name is not already used
|
||||||
if interrupt_name in self.soc_interrupt_map.keys():
|
if interrupt_name in self.soc_interrupt_map.keys():
|
||||||
|
|
Loading…
Reference in New Issue