aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ghdldrv/ghdl_gcc.adb2
-rw-r--r--src/ghdldrv/ghdl_jit.adb4
-rw-r--r--src/ghdldrv/ghdl_simul.adb4
-rw-r--r--src/ghdldrv/ghdlnull.ads21
4 files changed, 27 insertions, 4 deletions
diff --git a/src/ghdldrv/ghdl_gcc.adb b/src/ghdldrv/ghdl_gcc.adb
index c384222be..9077ca36b 100644
--- a/src/ghdldrv/ghdl_gcc.adb
+++ b/src/ghdldrv/ghdl_gcc.adb
@@ -21,6 +21,7 @@ with Ghdldrv;
with Ghdlprint;
with Ghdlvpi;
with Ghdlxml;
+with Ghdlsynth_Maybe;
procedure Ghdl_Gcc is
begin
@@ -29,6 +30,7 @@ begin
Ghdlmain.Version_String := new String'("GCC back-end code generator");
Ghdldrv.Backend := Ghdldrv.Backend_Gcc;
Ghdldrv.Register_Commands;
+ Ghdlsynth_Maybe.Register_Commands;
Ghdllocal.Register_Commands;
Ghdlprint.Register_Commands;
Ghdlvpi.Register_Commands;
diff --git a/src/ghdldrv/ghdl_jit.adb b/src/ghdldrv/ghdl_jit.adb
index 5da726e10..79d69c0e8 100644
--- a/src/ghdldrv/ghdl_jit.adb
+++ b/src/ghdldrv/ghdl_jit.adb
@@ -21,7 +21,7 @@ with Ghdlprint;
with Ghdlrun;
with Ghdlvpi;
with Ghdlxml;
--- with Ghdlsynth;
+with Ghdlsynth_Maybe;
with Ortho_Jit;
procedure Ghdl_Jit is
@@ -35,7 +35,7 @@ begin
Ghdlprint.Register_Commands;
Ghdlvpi.Register_Commands;
Ghdlxml.Register_Commands;
- -- Ghdlsynth.Register_Commands;
+ Ghdlsynth_Maybe.Register_Commands;
Ghdlmain.Register_Commands;
Ghdlmain.Main;
end Ghdl_Jit;
diff --git a/src/ghdldrv/ghdl_simul.adb b/src/ghdldrv/ghdl_simul.adb
index d28be1167..fa95ac5cb 100644
--- a/src/ghdldrv/ghdl_simul.adb
+++ b/src/ghdldrv/ghdl_simul.adb
@@ -21,7 +21,7 @@ with Ghdlprint;
with Ghdlxml;
with Ghdlsimul;
-with Ghdlsynth;
+with Ghdlsynth_Maybe;
procedure Ghdl_Simul is
begin
@@ -29,7 +29,7 @@ begin
-- used to display help).
Ghdlmain.Version_String := new String'("interpretation");
Ghdlsimul.Register_Commands;
- Ghdlsynth.Register_Commands;
+ Ghdlsynth_Maybe.Register_Commands;
Ghdllocal.Register_Commands;
Ghdlprint.Register_Commands;
Ghdlxml.Register_Commands;
diff --git a/src/ghdldrv/ghdlnull.ads b/src/ghdldrv/ghdlnull.ads
new file mode 100644
index 000000000..8a2e8e40c
--- /dev/null
+++ b/src/ghdldrv/ghdlnull.ads
@@ -0,0 +1,21 @@
+-- Null GHDL driver, used to not use synthesis
+-- Copyright (C) 2019 Tristan Gingold
+--
+-- GHDL is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation; either version 2, or (at your option) any later
+-- version.
+--
+-- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or
+-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with GCC; see the file COPYING. If not, write to the Free
+-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+-- 02111-1307, USA.
+
+package Ghdlnull is
+ procedure Register_Commands is null;
+end Ghdlnull;