mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
interconnect/wishbone/RegionsRemapper: Add default values for src_regions/dst_regions.
This commit is contained in:
parent
595118fd5d
commit
cfbe3b028a
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class Remapper(LiteXModule):
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue