aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdldrv/ghdlsynth.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index f06676097..fb1239442 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -269,6 +269,8 @@ package body Ghdlsynth is
raise Errorout.Compilation_Error;
end if;
+ Netlists.Errors.Initialize;
+
Synthesis.Synth_Design (Config, Res, Inst);
if Res = No_Module then
raise Errorout.Compilation_Error;