From 854e7cc908f346bc43f9b664a53d4583389f4858 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 18 Feb 2020 08:27:59 +0100 Subject: [PATCH] integration/soc: improve Region logger --- 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 91c3306dd..bbb6623e3 100755 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -171,7 +171,7 @@ class SoCBusHandler(Module): self.logger.error(str(self.io_regions[overlap[0]])) self.logger.error(str(self.io_regions[overlap[1]])) raise - self.logger.info("{} Region {} {}.".format( + self.logger.info("{} Region {} at {}.".format( colorer(name, color="underline"), colorer("added", color="green"), str(region))) @@ -202,7 +202,7 @@ class SoCBusHandler(Module): self.logger.error(str(self.regions[overlap[0]])) self.logger.error(str(self.regions[overlap[1]])) raise - self.logger.info("{} Region {} {}.".format( + self.logger.info("{} Region {} at {}.".format( colorer(name, color="underline"), colorer("allocated" if allocated else "added", color="cyan" if allocated else "green"), str(region)))