integration/soc: Improve mem_map overriding display.

This commit is contained in:
Florent Kermarrec 2022-01-06 13:46:21 +01:00
parent 5363d61859
commit 23b9d73354
1 changed files with 2 additions and 2 deletions

View File

@ -926,8 +926,8 @@ class SoC(Module):
self.logger.info("CPU {} {} mapping from {} to {}.".format(
colorer("overriding", color="cyan"),
colorer(n),
colorer(f"0x{self.mem_map[n]:x}"),
colorer(f"0x{self.cpu.mem_map[n]:x}")))
colorer(f"0x{self.mem_map[n]:08x}"),
colorer(f"0x{self.cpu.mem_map[n]:08x}")))
self.mem_map.update(self.cpu.mem_map)
# Add Bus Masters/CSR/IRQs.