diff options
author | Patrick Lehmann <Paebbels@gmail.com> | 2023-01-12 05:53:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 05:53:48 +0100 |
commit | fb7ef864c019d325f3fc37125e6d6cdc50ae4b83 (patch) | |
tree | 8ecca65254f939c987f182531b0cc7e13ff422b3 /pyGHDL/dom/formatting/prettyprint.py | |
parent | 60774db2a547493b7f89de6239794b7354a0e31f (diff) | |
download | ghdl-fb7ef864c019d325f3fc37125e6d6cdc50ae4b83.tar.gz ghdl-fb7ef864c019d325f3fc37125e6d6cdc50ae4b83.tar.bz2 ghdl-fb7ef864c019d325f3fc37125e6d6cdc50ae4b83.zip |
Dependency Graphs (#2308)
* Further fixes to the example code.
* Bumped dependencies.
* Fixed Debouncer example code.
* Some more cleanup.
* Black's opinion.
* Run with pyVHDLModel dev-branch.
* Fixed imports for Name.
* Fixed test case.
* Added a formatter to write dependency graphs and hierarchy as graphml.
* Improved GraphML formatting.
* Write compile order graph.
* Computing compile order.
* Bumped dependencies.
* Black's opinion.
* Fixed incorrect dependency.
Diffstat (limited to 'pyGHDL/dom/formatting/prettyprint.py')
-rw-r--r-- | pyGHDL/dom/formatting/prettyprint.py | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py index da26372c4..5be27492d 100644 --- a/pyGHDL/dom/formatting/prettyprint.py +++ b/pyGHDL/dom/formatting/prettyprint.py @@ -34,6 +34,15 @@ from typing import List, Union from pyTooling.Decorators import export +from pyVHDLModel.Base import NamedEntityMixin +from pyVHDLModel.Interface import GenericInterfaceItem, PortInterfaceItem +from pyVHDLModel.Subprogram import Function +from pyVHDLModel.Object import BaseConstant, WithDefaultExpressionMixin +from pyVHDLModel.Type import BaseType, FullType +from pyVHDLModel.Concurrent import ConcurrentStatement + +from pyGHDL import GHDLBaseException +from pyGHDL.dom.NonStandard import Document, Design, Library from pyGHDL.dom.Concurrent import ( ConcurrentBlockStatement, ProcessStatement, @@ -45,20 +54,6 @@ from pyGHDL.dom.Concurrent import ( EntityInstantiation, ConcurrentProcedureCall, ) -from pyVHDLModel.SyntaxModel import ( - GenericInterfaceItem, - NamedEntityMixin, - PortInterfaceItem, - WithDefaultExpressionMixin, - Function, - BaseType, - FullType, - BaseConstant, - ConcurrentStatement, -) - -from pyGHDL import GHDLBaseException -from pyGHDL.dom.NonStandard import Document, Design, Library from pyGHDL.dom.DesignUnit import ( Entity, Architecture, @@ -70,10 +65,7 @@ from pyGHDL.dom.DesignUnit import ( UseClause, PackageInstantiation, ) -from pyGHDL.dom.Symbol import ( - SimpleSubtypeSymbol, - ConstrainedCompositeSubtypeSymbol, -) +from pyGHDL.dom.Symbol import SimpleSubtypeSymbol, ConstrainedCompositeSubtypeSymbol from pyGHDL.dom.Type import ( IntegerType, Subtype, |