We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57efed8 commit 4961cb3Copy full SHA for 4961cb3
pyVHDLModel/__init__.py
@@ -986,6 +986,11 @@ def CreateHierarchyGraph(self) -> None:
986
newEdge = hierarchyArchitectureVertex.LinkFromVertex(hierarchyDestinationVertex)
987
elif DependencyGraphEdgeKind.Instantiation in kind:
988
hierarchyDestinationVertex = dependencyEdge.Destination["hierarchyVertex"]
989
+
990
+ # FIXME: avoid parallel edges, to graph can be converted to a tree until "real" hierarchy is computed (unrole generics and blocks)
991
+ if hierarchyArchitectureVertex.HasLinkToDestination(hierarchyDestinationVertex):
992
+ continue
993
994
newEdge = hierarchyArchitectureVertex.LinkToVertex(hierarchyDestinationVertex)
995
else:
996
continue
0 commit comments