aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-06-12 07:47:46 +0200
committerTristan Gingold <tgingold@free.fr>2020-06-12 07:47:46 +0200
commitdb9c1fd3700995155b2d8a32d929b3d0dc9689e2 (patch)
treedf1d9c6510ba70e6c755f6428c6b902c40fe7b1a /src/vhdl/vhdl-annotations.adb
parent967047f328ba8e5a2172ab24200dc6481aa48927 (diff)
downloadghdl-db9c1fd3700995155b2d8a32d929b3d0dc9689e2.tar.gz
ghdl-db9c1fd3700995155b2d8a32d929b3d0dc9689e2.tar.bz2
ghdl-db9c1fd3700995155b2d8a32d929b3d0dc9689e2.zip
vhdl: analyze and synth concurrent statements in vunit. Fix #1366
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r--src/vhdl/vhdl-annotations.adb7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb
index 4ec3e8849..20cfe9737 100644
--- a/src/vhdl/vhdl-annotations.adb
+++ b/src/vhdl/vhdl-annotations.adb
@@ -1155,7 +1155,12 @@ package body Vhdl.Annotations is
| Iir_Kind_Attribute_Declaration
| Iir_Kind_Attribute_Specification =>
Annotate_Declaration (Vunit_Info, Item);
- when Iir_Kind_Concurrent_Simple_Signal_Assignment =>
+ when Iir_Kinds_Concurrent_Signal_Assignment
+ | Iir_Kinds_Process_Statement
+ | Iir_Kinds_Generate_Statement
+ | Iir_Kind_Block_Statement
+ | Iir_Kind_Concurrent_Procedure_Call_Statement
+ | Iir_Kind_Component_Instantiation_Statement =>
Annotate_Concurrent_Statement (Vunit_Info, Item);
when others =>
Error_Kind ("annotate_vunit_declaration", Item);