diff --git a/systemrdl/component.py b/systemrdl/component.py index d7160cd..6cf2280 100644 --- a/systemrdl/component.py +++ b/systemrdl/component.py @@ -157,7 +157,7 @@ def get_scope_path(self, scope_separator="::"): field {} z; } baz, xyz; }; - + ... results in: * Field ``x`` of hierarchical path ``top.foo.x`` was declared in the diff --git a/systemrdl/node.py b/systemrdl/node.py index 06bb38f..87e55e9 100644 --- a/systemrdl/node.py +++ b/systemrdl/node.py @@ -292,7 +292,6 @@ def find_by_path(self, path): pathparts = path.split('.') current_node = self for pathpart in pathparts: - # If parent reference, jump upwards if pathpart == "^": if current_node.parent is not None: