Skip to content

Commit

Permalink
interconnect/wishbone/RegionsRemapper: Add default values for src_reg…
Browse files Browse the repository at this point in the history
…ions/dst_regions.
  • Loading branch information
enjoy-digital committed Feb 13, 2024
1 parent 595118f commit cfbe3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/soc/interconnect/wishbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(self, master, slave, origin, size):

class RegionsRemapper(LiteXModule):
"""Remaps Wishbone addresses from specified source regions to destination regions"""
def __init__(self, master, slave, src_regions, dst_regions):
def __init__(self, master, slave, src_regions=[], dst_regions=[]):
assert len(src_regions) == len(dst_regions)
assert master.addressing == slave.addressing

Expand Down

0 comments on commit cfbe3b0

Please sign in to comment.