From 3269d12a2705252ad0a4d7756e6c861b0639373a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 7 Nov 2022 19:19:14 +0100 Subject: [PATCH] gen/fhdl/hierarchy: Use ** for BlackBox for black/white consoles. --- litex/gen/fhdl/hierarchy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/gen/fhdl/hierarchy.py b/litex/gen/fhdl/hierarchy.py index b30b2f724..34e2c8377 100644 --- a/litex/gen/fhdl/hierarchy.py +++ b/litex/gen/fhdl/hierarchy.py @@ -44,13 +44,13 @@ class LiteXHierarchyExplorer: if s in v._fragment.specials: show = False if show: - r += f"{self.tree_ident*ident}{self.tree_entry}{colorer(s.of + '*', 'yellow')}\n" + r += f"{self.tree_ident*ident}{self.tree_entry}{colorer(s.of + '**', 'yellow')}\n" return r def __repr__(self): r = "\n" r += f"{colorer(self.top.__class__.__name__, 'underline')}\n" r += self.get_tree(self.top) - r += f"{colorer('*', 'cyan')}: Generated name.\n" - r += f"{colorer('*', 'yellow')}: BlackBox.\n" + r += f"{colorer('* ', 'cyan')}: Generated name.\n" + r += f"{colorer('**', 'yellow')}: BlackBox.\n" return r