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 11e6d06b97..7b730576d4 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -543,7 +543,7 @@ def add_slave(self, name=None, slave=None, region=None): 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