From: Florent Kermarrec Date: Tue, 18 Feb 2020 07:27:59 +0000 (+0100) Subject: integration/soc: improve Region logger X-Git-Tag: 24jan2021_ls180~656 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=854e7cc908f346bc43f9b664a53d4583389f4858;p=litex.git integration/soc: improve Region logger --- diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 91c3306d..bbb6623e 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)))