gen/fhdl/hierarchy: Use [] for BlackBoxes.
This commit is contained in:
parent
b32d694ae4
commit
240b24b7ff
|
@ -44,7 +44,7 @@ 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(f'[{s.of}]', 'yellow')}\n"
|
||||
return r
|
||||
|
||||
def __repr__(self):
|
||||
|
@ -52,5 +52,5 @@ class LiteXHierarchyExplorer:
|
|||
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('[]', 'yellow')}: BlackBox.\n"
|
||||
return r
|
||||
|
|
Loading…
Reference in New Issue