aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Sequential.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-24 07:32:32 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-26 21:08:12 +0200
commita6d0550e54a6243f4cc716ce98f348458c865fe8 (patch)
tree190d33f6a602e5a99eb4f37931038ee696e15026 /pyGHDL/dom/Sequential.py
parent98b54bc3d1b54bfc5c03e74d049fb59db47df8db (diff)
downloadghdl-a6d0550e54a6243f4cc716ce98f348458c865fe8.tar.gz
ghdl-a6d0550e54a6243f4cc716ce98f348458c865fe8.tar.bz2
ghdl-a6d0550e54a6243f4cc716ce98f348458c865fe8.zip
Implemented handling off null statements.
Diffstat (limited to 'pyGHDL/dom/Sequential.py')
-rw-r--r--pyGHDL/dom/Sequential.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pyGHDL/dom/Sequential.py b/pyGHDL/dom/Sequential.py
index 9e1af5b32..70a16e4cd 100644
--- a/pyGHDL/dom/Sequential.py
+++ b/pyGHDL/dom/Sequential.py
@@ -54,6 +54,7 @@ from pyVHDLModel.SyntaxModel import (
SequentialProcedureCall as VHDLModel_SequentialProcedureCall,
SequentialAssertStatement as VHDLModel_SequentialAssertStatement,
SequentialReportStatement as VHDLModel_SequentialReportStatement,
+ NullStatement as VHDLModel_NullStatement,
WaitStatement as VHDLModel_WaitStatement,
Name,
SequentialStatement,
@@ -482,6 +483,17 @@ class SequentialReportStatement(VHDLModel_SequentialReportStatement, DOMMixin):
@export
+class NullStatement(VHDLModel_NullStatement, DOMMixin):
+ def __init__(
+ self,
+ waitNode: Iir,
+ label: str = None,
+ ):
+ super().__init__(label)
+ DOMMixin.__init__(self, waitNode)
+
+
+@export
class WaitStatement(VHDLModel_WaitStatement, DOMMixin):
def __init__(
self,