From 61b54aa49175817a0c9147330c11c0b292bf8b79 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 30 Aug 2024 12:08:00 +0200 Subject: [PATCH] soc/integration/soc: Fix add_peripheral. --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 11e6d06b9..7b730576d 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -543,7 +543,7 @@ class SoCBusHandler(LiteXModule): colorer("added", color="green"))) def add_peripheral(self, name=None, peripheral=None, region=None): - self.add_slave(self, name=name, slave=peripheral, region=region) + self.add_slave(name=name, slave=peripheral, region=region) def get_address_width(self, standard): standard_from = self.standard