integration/soc: improve Region logger
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 18 Feb 2020 07:27:59 +0000 (08:27 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 18 Feb 2020 07:27:59 +0000 (08:27 +0100)
litex/soc/integration/soc.py

index 91c3306dd5c4790a4faff883eae1cbd2062fee3a..bbb6623e3b8be054e17ec0ca3dbec34bc1b0c598 100755 (executable)
@@ -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)))