From 23b9d733547f67e4d87483995ab730e668610ae9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 6 Jan 2022 13:46:21 +0100 Subject: [PATCH] integration/soc: Improve mem_map overriding display. --- litex/soc/integration/soc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 371a795a7..1e82ee085 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -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.