aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlrun.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-16 18:26:27 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-16 18:26:27 +0100
commitf261c1390eacb1c2af6c613c01c4c03d461db5de (patch)
tree4b0dd8b40d8295f6e1a5bb4db073d2379a225fab /src/ghdldrv/ghdlrun.adb
parent939ccaa605bfd90686269d74820044bf77f4fd12 (diff)
downloadghdl-f261c1390eacb1c2af6c613c01c4c03d461db5de.tar.gz
ghdl-f261c1390eacb1c2af6c613c01c4c03d461db5de.tar.bz2
ghdl-f261c1390eacb1c2af6c613c01c4c03d461db5de.zip
vhdl: refactoring - remove trans_be, mainly added to vhdl-back_end
Diffstat (limited to 'src/ghdldrv/ghdlrun.adb')
-rw-r--r--src/ghdldrv/ghdlrun.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb
index 758966231..0c8ba1ccb 100644
--- a/src/ghdldrv/ghdlrun.adb
+++ b/src/ghdldrv/ghdlrun.adb
@@ -38,10 +38,10 @@ with Vhdl.Std_Package;
with Vhdl.Errors; use Vhdl.Errors;
with Vhdl.Canon;
with Vhdl.Ieee.Std_Logic_1164;
+with Vhdl.Back_End;
with Ortho_Jit;
with Ortho_Nodes; use Ortho_Nodes;
with Trans_Decls;
-with Trans_Be;
with Translation;
with Grt.Main;
@@ -110,7 +110,7 @@ package body Ghdlrun is
Equal => Shlib_Equal);
procedure Foreign_Hook (Decl : Iir;
- Info : Translation.Foreign_Info_Type;
+ Info : Vhdl.Back_End.Foreign_Info_Type;
Ortho : O_Dnode);
subtype F64_C_Arr_Ptr is Grt.Analog_Solver.F64_C_Arr_Ptr;
@@ -258,10 +258,10 @@ package body Ghdlrun is
renames Ortho_Jit.Set_Address;
procedure Foreign_Hook (Decl : Iir;
- Info : Translation.Foreign_Info_Type;
+ Info : Vhdl.Back_End.Foreign_Info_Type;
Ortho : O_Dnode)
is
- use Translation;
+ use Vhdl.Back_End;
Res : Address;
begin
case Info.Kind is
@@ -867,6 +867,6 @@ package body Ghdlrun is
Ortho_Jit.Disp_Help'Access);
Ghdlcomp.Register_Commands;
Register_Command (new Command_Run_Help);
- Trans_Be.Register_Translation_Back_End;
+ Translation.Register_Translation_Back_End;
end Register_Commands;
end Ghdlrun;