diff options
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlsimul.adb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb index e0a5ce649..2e304d7ce 100644 --- a/src/ghdldrv/ghdlsimul.adb +++ b/src/ghdldrv/ghdlsimul.adb @@ -141,6 +141,9 @@ package body Ghdlsimul is Grt.Options.Progname := Grt.Types.To_Ghdl_C_String (Argv0.all'Address); Grt.Errors.Set_Error_Stream (Grt.Stdio.stdout); + Grtlink.Flag_String := Flags.Flag_String; + Grt.Options.Set_Time_Resolution; + for I in Args'Range loop Arg := Args (I); if Arg.all = "--disp-tree" then @@ -187,8 +190,6 @@ package body Ghdlsimul is return; end if; - Grtlink.Flag_String := Flags.Flag_String; - Simul.Simulation.Main.Simulation_Entity (Top_Conf); Set_Exit_Status (Exit_Status (Grt.Errors.Exit_Status)); |