summaryrefslogtreecommitdiff
path: root/src/vhdl/simulate/annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold2016-01-17 06:55:46 +0100
committerTristan Gingold2016-01-19 19:54:41 +0100
commit22d04ec32c8c0457cfa5043c10f0d6f0575e5720 (patch)
tree6344225c686a1082e4e05560fca90ad69953e3a2 /src/vhdl/simulate/annotations.adb
parent1e2aeb2a4635f24c60384232e319b682b0d99f3c (diff)
downloadghdl-22d04ec32c8c0457cfa5043c10f0d6f0575e5720.tar.gz
ghdl-22d04ec32c8c0457cfa5043c10f0d6f0575e5720.tar.bz2
ghdl-22d04ec32c8c0457cfa5043c10f0d6f0575e5720.zip
simulate: fix handling of deferred constants.
Diffstat (limited to 'src/vhdl/simulate/annotations.adb')
-rw-r--r--src/vhdl/simulate/annotations.adb4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vhdl/simulate/annotations.adb b/src/vhdl/simulate/annotations.adb
index 10ca72e..b282903 100644
--- a/src/vhdl/simulate/annotations.adb
+++ b/src/vhdl/simulate/annotations.adb
@@ -583,8 +583,6 @@ package body Annotations is
Annotate_Anonymous_Type_Definition
(Block_Info, Get_Type (Decl));
Create_Object_Info (Block_Info, Decl);
- else
- Set_Info (Decl, Get_Info (Get_Deferred_Declaration (Decl)));
end if;
when Iir_Kind_File_Declaration =>
@@ -716,7 +714,7 @@ package body Annotations is
null;
when Iir_Kind_Return_Statement =>
null;
- when Iir_Kind_Signal_Assignment_Statement
+ when Iir_Kind_Simple_Signal_Assignment_Statement
| Iir_Kind_Variable_Assignment_Statement =>
null;
when Iir_Kind_Procedure_Call_Statement =>