soc/integration/soc: Fix add_peripheral.

This commit is contained in:
Florent Kermarrec 2024-08-30 12:08:00 +02:00
parent 4ded509444
commit 61b54aa491
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ class SoCBusHandler(LiteXModule):
colorer("added", color="green"))) colorer("added", color="green")))
def add_peripheral(self, name=None, peripheral=None, region=None): 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): def get_address_width(self, standard):
standard_from = self.standard standard_from = self.standard