diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-10-15 14:32:32 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-10-15 14:32:32 +0200 |
commit | 6c9ac1f1ba0492c2d5add773d2024dd163b31db4 (patch) | |
tree | 9ccb3faa5b7f43f98acf342f6bbadcef3017c062 /src/ghdldrv | |
parent | 0d82b72ca11cb249888356caec800ddd43a70c82 (diff) | |
download | ghdl-6c9ac1f1ba0492c2d5add773d2024dd163b31db4.tar.gz ghdl-6c9ac1f1ba0492c2d5add773d2024dd163b31db4.tar.bz2 ghdl-6c9ac1f1ba0492c2d5add773d2024dd163b31db4.zip |
simulation: remove sim_be after previous code factorization.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlsimul.adb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb index ddf70bbb3..2f2e13ce5 100644 --- a/src/ghdldrv/ghdlsimul.adb +++ b/src/ghdldrv/ghdlsimul.adb @@ -25,7 +25,6 @@ with GNAT.OS_Lib; use GNAT.OS_Lib; with Types; with Iirs; use Iirs; with Flags; -with Back_End; with Name_Table; with Errorout; use Errorout; with Std_Package; @@ -35,7 +34,6 @@ with Configuration; with Iirs_Utils; with Annotations; with Elaboration; -with Sim_Be; with Simulation.Main; with Debugger; with Execution; @@ -58,10 +56,6 @@ package body Ghdlsimul is return; end if; - -- Initialize. - Back_End.Finish_Compilation := Sim_Be.Finish_Compilation'Access; - Back_End.Sem_Foreign := null; - Setup_Libraries (False); Libraries.Load_Std_Library; @@ -79,6 +73,7 @@ package body Ghdlsimul is is use Name_Table; use Types; + use Configuration; First_Id : Name_Id; Sec_Id : Name_Id; @@ -117,6 +112,11 @@ package body Ghdlsimul is raise Compilation_Error; end if; end; + + -- Annotate all units. + for I in Design_Units.First .. Design_Units.Last loop + Annotations.Annotate (Design_Units.Table (I)); + end loop; end Compile_Elab; -- Set options. |