integration/soc: improve Region logger

This commit is contained in:
Florent Kermarrec 2020-02-18 08:27:59 +01:00
parent 9cb8f68e82
commit 854e7cc908
1 changed files with 2 additions and 2 deletions

View File

@ -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)))