interconnect/wishbone/Remapper: Fix src_adr/dst_adr signal size.
This commit is contained in:
parent
722b6da9fb
commit
4ca66bbee6
|
@ -168,8 +168,8 @@ class Remapper(Module):
|
||||||
}[master.addressing]
|
}[master.addressing]
|
||||||
# Apply Address Regions Remapping.
|
# Apply Address Regions Remapping.
|
||||||
for src_region, dst_region in zip(src_regions, dst_regions):
|
for src_region, dst_region in zip(src_regions, dst_regions):
|
||||||
src_adr = Signal.like(master.adr)
|
src_adr = Signal.like(master.adr + adr_shift + 1)
|
||||||
dst_adr = Signal.like(master.adr)
|
dst_adr = Signal.like(master.adr + adr_shift + 1)
|
||||||
active = Signal()
|
active = Signal()
|
||||||
self.comb += [
|
self.comb += [
|
||||||
src_adr.eq(adr_remap << adr_shift),
|
src_adr.eq(adr_remap << adr_shift),
|
||||||
|
|
Loading…
Reference in New Issue