aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlsimul.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlsimul.adb')
-rw-r--r--src/ghdldrv/ghdlsimul.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 909253e60..a1f315678 100644
--- a/src/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
@@ -52,6 +52,7 @@ with Elab.Debugger;
with Synth.Flags;
with Synth.Errors;
+with Synth.Vhdl_Foreign;
with Simul.Vhdl_Elab;
with Simul.Vhdl_Simul;
@@ -136,6 +137,7 @@ package body Ghdlsimul is
-- Set flags.
Synth.Flags.Flag_Simulation := True;
Synth.Errors.Debug_Handler := Elab.Debugger.Debug_Error'Access;
+ Synth.Vhdl_Foreign.Initialize;
-- Generic overriding.
Top := Vhdl.Utils.Get_Entity_From_Configuration (Config);