From 3f0308a5f807269aa5691fa1c704c0e9147d45f1 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 16 Aug 2021 23:47:04 +0200 Subject: Handle contexts. --- pyGHDL/dom/Concurrent.py | 1 - pyGHDL/dom/DesignUnit.py | 95 ++++++++++++++++++++++++++---------- pyGHDL/dom/NonStandard.py | 40 ++++++++++++--- pyGHDL/dom/Sequential.py | 1 - pyGHDL/dom/_Translate.py | 2 +- pyGHDL/dom/formatting/prettyprint.py | 8 +-- 6 files changed, 108 insertions(+), 39 deletions(-) (limited to 'pyGHDL/dom') diff --git a/pyGHDL/dom/Concurrent.py b/pyGHDL/dom/Concurrent.py index 953d4d6e3..f4ded4e80 100644 --- a/pyGHDL/dom/Concurrent.py +++ b/pyGHDL/dom/Concurrent.py @@ -487,7 +487,6 @@ class CaseGenerateStatement(VHDLModel_CaseGenerateStatement, DOMMixin): while alternative != nodes.Null_Iir: choiceKind = GetIirKindOfNode(alternative) sameAlternative = nodes.Get_Same_Alternative_Flag(alternative) - print("sameAlternative: ", sameAlternative) if choiceKind in ( nodes.Iir_Kind.Choice_By_Name, diff --git a/pyGHDL/dom/DesignUnit.py b/pyGHDL/dom/DesignUnit.py index e8dfccbd7..c905a439d 100644 --- a/pyGHDL/dom/DesignUnit.py +++ b/pyGHDL/dom/DesignUnit.py @@ -41,9 +41,11 @@ This module contains all DOM classes for VHDL's design units (:class:`context