aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-09-19 07:40:23 +0200
committerTristan Gingold <tgingold@free.fr>2022-09-19 07:40:23 +0200
commite9d3ea593a34798d9128393731bbdc543f4a850e (patch)
tree17a59d89d6f55f9958e9ac92fdf53ae01b2295b0 /src/ghdldrv
parenta5f7e9e324210b5d73924e903f24e870572bb096 (diff)
downloadghdl-e9d3ea593a34798d9128393731bbdc543f4a850e.tar.gz
ghdl-e9d3ea593a34798d9128393731bbdc543f4a850e.tar.bz2
ghdl-e9d3ea593a34798d9128393731bbdc543f4a850e.zip
synth: simplify elab-vhdl_annotations
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlsimul.adb3
-rw-r--r--src/ghdldrv/ghdlsynth.adb1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 03322c54a..6a6140cee 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -32,7 +32,6 @@ with Vhdl.Nodes; use Vhdl.Nodes;
with Vhdl.Std_Package;
with Vhdl.Canon;
-with Elab.Vhdl_Annotations;
with Grt.Options;
with Grt.Types;
@@ -67,8 +66,6 @@ package body Ghdlsimul is
Vhdl.Canon.Canon_Flag_Add_Labels := True;
Vhdl.Canon.Canon_Flag_Add_Suspend_State := True;
- Elab.Vhdl_Annotations.Flag_Synthesis := True;
-
-- Do not canon concurrent statements.
Vhdl.Canon.Canon_Flag_Concurrent_Stmts := False;
end Compile_Init;
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index 711ad66bc..df7d84231 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -264,7 +264,6 @@ package body Ghdlsynth is
procedure Synth_Compile_Init (Enable_Translate_Off : Boolean;
Load_Work : Boolean) is
begin
- Elab.Vhdl_Annotations.Flag_Synthesis := True;
if Enable_Translate_Off then
Vhdl.Scanner.Flag_Comment_Keyword := True;
Vhdl.Scanner.Flag_Pragma_Comment := True;