aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-annotations.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r--src/vhdl/vhdl-annotations.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb
index cf7659a22..aef7cafc0 100644
--- a/src/vhdl/vhdl-annotations.adb
+++ b/src/vhdl/vhdl-annotations.adb
@@ -741,7 +741,9 @@ package body Vhdl.Annotations is
Annotate_Declaration_Type (Block_Info, Decl);
Create_Signal_Info (Block_Info, Decl);
when Iir_Kind_Anonymous_Signal_Declaration =>
- Create_Signal_Info (Block_Info, Decl);
+ if not Flag_Synthesis then
+ Create_Signal_Info (Block_Info, Decl);
+ end if;
when Iir_Kind_Variable_Declaration
| Iir_Kind_Iterator_Declaration =>