diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-13 22:39:13 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:35 +0200 |
commit | 16c7b04b252428ebf131ecd4956e099f766d118e (patch) | |
tree | ab4da8f9a57601ad321d52e9ced610ca0bda4f1b /pyGHDL/dom | |
parent | edd59b8997c30c8a559d4d7d433631ef03c19546 (diff) | |
download | ghdl-16c7b04b252428ebf131ecd4956e099f766d118e.tar.gz ghdl-16c7b04b252428ebf131ecd4956e099f766d118e.tar.bz2 ghdl-16c7b04b252428ebf131ecd4956e099f766d118e.zip |
Preparations for sequential statements.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/_Translate.py | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index a6ad1ca42..a4be6a792 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -892,6 +892,45 @@ def GetSequentialStatementsFromChainedNodes( label=label, line=pos.Line ) ) + elif kind == nodes.Iir_Kind.Simple_Signal_Assignment_Statement: + print( + "[NOT IMPLEMENTED] (Simple) signal assignment (label: '{label}') at line {line}".format( + label=label, line=pos.Line + ) + ) + elif kind in ( + nodes.Iir_Kind.Variable_Assignment_Statement, + nodes.Iir_Kind.Conditional_Variable_Assignment_Statement, + ): + print( + "[NOT IMPLEMENTED] Variable assignment (label: '{label}') at line {line}".format( + label=label, line=pos.Line + ) + ) + elif kind == nodes.Iir_Kind.Wait_Statement: + print( + "[NOT IMPLEMENTED] For-loop statement (label: '{label}') at line {line}".format( + label=label, line=pos.Line + ) + ) + elif kind == nodes.Iir_Kind.Procedure_Call_Statement: + print( + "[NOT IMPLEMENTED] Procedure call (label: '{label}') at line {line}".format( + label=label, line=pos.Line + ) + ) + elif kind == nodes.Iir_Kind.Report_Statement: + print( + "[NOT IMPLEMENTED] Report statement (label: '{label}') at line {line}".format( + label=label, line=pos.Line + ) + ) + elif kind == nodes.Iir_Kind.Assertion_Statement: + print( + "[NOT IMPLEMENTED] Report 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( |