diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-12-30 15:16:52 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-12-30 15:19:03 +0100 |
commit | 6f2290abd601ab96ab934a8503ed96e8312dd728 (patch) | |
tree | ba4e6c849f16f674fc6c712fec59c576392dc9ba /src/vhdl/vhdl-canon.adb | |
parent | 48aef3eadabbaa5c2c4a8cecb643e18b32a925f4 (diff) | |
download | ghdl-6f2290abd601ab96ab934a8503ed96e8312dd728.tar.gz ghdl-6f2290abd601ab96ab934a8503ed96e8312dd728.tar.bz2 ghdl-6f2290abd601ab96ab934a8503ed96e8312dd728.zip |
ams-vhdl: analyze, canon and print simultaneous procedural statements.
Diffstat (limited to 'src/vhdl/vhdl-canon.adb')
-rw-r--r-- | src/vhdl/vhdl-canon.adb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-canon.adb b/src/vhdl/vhdl-canon.adb index 95fe700d4..98d69901c 100644 --- a/src/vhdl/vhdl-canon.adb +++ b/src/vhdl/vhdl-canon.adb @@ -2278,6 +2278,17 @@ package body Vhdl.Canon is Clause := Get_Else_Clause (Clause); end loop; end; + when Iir_Kind_Simultaneous_Procedural_Statement => + Canon_Declarations (Top, Stmt, Null_Iir); + if Canon_Flag_Sequentials_Stmts then + declare + Stmts : Iir; + begin + Stmts := Get_Sequential_Statement_Chain (Stmt); + Stmts := Canon_Sequential_Stmts (Stmts); + Set_Sequential_Statement_Chain (Stmt, Stmts); + end; + end if; when others => Error_Kind ("canon_concurrent_statement", Stmt); |