Skip to content

Commit

Permalink
soc/integration/soc: Fix add_peripheral.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 30, 2024
1 parent 4ded509 commit 61b54aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/soc/integration/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61b54aa

Please sign in to comment.