aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-05 07:56:36 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-05 22:19:09 +0100
commit7d9eb240cf987b16ff01beb92f4408b37a297c0d (patch)
treeba6f7c1bd419dcf7c3e59bfd9f80668efe07cd04 /src/ghdldrv
parent456c28b50ce95dca9fb0576de161051816b6c2dc (diff)
downloadghdl-7d9eb240cf987b16ff01beb92f4408b37a297c0d.tar.gz
ghdl-7d9eb240cf987b16ff01beb92f4408b37a297c0d.tar.bz2
ghdl-7d9eb240cf987b16ff01beb92f4408b37a297c0d.zip
grt: add modules in ghdl_main instead of grt-main
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlrun.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb
index 3f96bf456..758966231 100644
--- a/src/ghdldrv/ghdlrun.adb
+++ b/src/ghdldrv/ghdlrun.adb
@@ -805,6 +805,8 @@ package body Ghdlrun is
Put_Line ("Starting simulation");
end if;
+ Grt.Modules.Register_Modules;
+
Grt.Main.Run;
Ada.Command_Line.Set_Exit_Status