aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting/prettyprint.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 19:20:16 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 19:24:01 +0200
commitea328fa671fc42569a688c8dfb308d87f42771c3 (patch)
tree7c7e53389378fd84414bc3d91d178f636d6498e6 /pyGHDL/dom/formatting/prettyprint.py
parent469a8d28a1efae99ea1dc1e3f3c84c4889ba2421 (diff)
downloadghdl-ea328fa671fc42569a688c8dfb308d87f42771c3.tar.gz
ghdl-ea328fa671fc42569a688c8dfb308d87f42771c3.tar.bz2
ghdl-ea328fa671fc42569a688c8dfb308d87f42771c3.zip
Prepared for DeferredConstant.
Diffstat (limited to 'pyGHDL/dom/formatting/prettyprint.py')
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index f19125811..0509b826d 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -54,7 +54,7 @@ class PrettyPrint:
buffer = []
prefix = " " * level
buffer.append("{prefix}Libraries:".format(prefix=prefix))
- for library in design.Libraries:
+ for library in design.Libraries.values():
for line in self.formatLibrary(library, level + 1):
buffer.append(line)
buffer.append("{prefix}Documents:".format(prefix=prefix))
@@ -74,18 +74,18 @@ class PrettyPrint:
for entity in library.Entities:
for line in self.formatEntity(entity, level + 1):
buffer.append(line)
- buffer.append("{prefix}Architectures:".format(prefix=prefix))
- for architecture in library.Architectures:
- for line in self.formatArchitecture(architecture, level + 1):
- buffer.append(line)
+ # buffer.append("{prefix}Architectures:".format(prefix=prefix))
+ # for architecture in library.Architectures:
+ # for line in self.formatArchitecture(architecture, level + 1):
+ # buffer.append(line)
buffer.append("{prefix}Packages:".format(prefix=prefix))
for package in library.Packages:
for line in self.formatPackage(package, level + 1):
buffer.append(line)
- buffer.append("{prefix}PackageBodies:".format(prefix=prefix))
- for packageBodies in library.PackageBodies:
- for line in self.formatPackageBody(packageBodies, level + 1):
- buffer.append(line)
+ # buffer.append("{prefix}PackageBodies:".format(prefix=prefix))
+ # for packageBodies in library.PackageBodies:
+ # for line in self.formatPackageBody(packageBodies, level + 1):
+ # buffer.append(line)
buffer.append("{prefix}Configurations:".format(prefix=prefix))
for configuration in library.Configurations:
for line in self.formatConfiguration(configuration, level + 1):