aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-16 09:04:12 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-19 20:47:39 +0200
commit324ecaeb2351d190356f679e38166897666dd3e2 (patch)
tree368a3ac8d59431e0c1c526c1e07d4dede8b20c65 /src/ghdldrv
parentcfde49734086a65d79e8ed4bb1a242ab0c407a40 (diff)
downloadghdl-324ecaeb2351d190356f679e38166897666dd3e2.tar.gz
ghdl-324ecaeb2351d190356f679e38166897666dd3e2.tar.bz2
ghdl-324ecaeb2351d190356f679e38166897666dd3e2.zip
synth: get rid of execution and elaboration.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlsynth.adb8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index cec4a7056..f887279a7 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -21,11 +21,13 @@ with Ghdlcomp;
with Ghdlmain; use Ghdlmain;
with Ghdlsimul;
+with Simul.Annotations;
+
with Libraries;
with Flags;
with Vhdl.Canon;
-with Simul.Elaboration;
+-- with Simul.Elaboration;
with Synthesis;
with Netlists.Dump;
@@ -88,6 +90,8 @@ package body Ghdlsynth is
end if;
end loop;
+ Simul.Annotations.Flag_Synthesis := True;
+
Ghdlcomp.Hooks.Compile_Init.all (False);
Flags.Flag_Elaborate_With_Outdated := False;
Flags.Flag_Only_Elab_Warnings := True;
@@ -114,7 +118,7 @@ package body Ghdlsynth is
-- Hooks.Set_Run_Options (Args (Opt_Arg .. Args'Last));
- Simul.Elaboration.Elaborate_Design (Ghdlsimul.Get_Top_Config);
+ -- Simul.Elaboration.Elaborate_Design (Ghdlsimul.Get_Top_Config);
return Synthesis.Synth_Design (Ghdlsimul.Get_Top_Config);
-- Hooks.Run.all;