aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-23 15:41:10 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:37 +0200
commitb229fa55b6485350ced8e31d6a803d08544b6d22 (patch)
tree69575b8939b2d550b7f92f0d23e4a0b854dff283 /pyGHDL
parent8b98e2883b40b00922c9944c2470211ee055a9a5 (diff)
downloadghdl-b229fa55b6485350ced8e31d6a803d08544b6d22.tar.gz
ghdl-b229fa55b6485350ced8e31d6a803d08544b6d22.tar.bz2
ghdl-b229fa55b6485350ced8e31d6a803d08544b6d22.zip
Skip null statement.
Diffstat (limited to 'pyGHDL')
-rw-r--r--pyGHDL/dom/Concurrent.py3
-rw-r--r--pyGHDL/dom/_Translate.py6
2 files changed, 8 insertions, 1 deletions
diff --git a/pyGHDL/dom/Concurrent.py b/pyGHDL/dom/Concurrent.py
index 740802d18..e7162cc81 100644
--- a/pyGHDL/dom/Concurrent.py
+++ b/pyGHDL/dom/Concurrent.py
@@ -290,8 +290,9 @@ class ProcessStatement(VHDLModel_ProcessStatement, DOMMixin):
sensitivityList = None
if hasSensitivityList:
+ pass
# FIXME: sensitity list
- sensitivityListNode = nodes.Get_Sensitivity_List(processNode)
+ # sensitivityListNode = nodes.Get_Sensitivity_List(processNode)
# print("sensi", GetIirKindOfNode(sensitivityListNode))
declaredItems = GetDeclaredItemsFromChainedNodes(
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index d64e38d82..43c443cc1 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -1000,6 +1000,12 @@ def GetSequentialStatementsFromChainedNodes(
yield SequentialReportStatement.parse(statement, label)
elif kind == nodes.Iir_Kind.Assertion_Statement:
yield SequentialAssertStatement.parse(statement, label)
+ elif kind == nodes.Iir_Kind.Null_Statement:
+ print(
+ "[NOT IMPLEMENTED] null statement (label: '{label}') at line {line}".format(
+ label=label, line=pos.Line
+ )
+ )
else:
raise DOMException(
"Unknown statement of kind '{kind}' in {entity} '{name}' at {file}:{line}:{column}.".format(