From 53fcf00d88d1a3b34c7833aa4c421ea52f3e03dd Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 5 May 2019 07:18:49 +0200 Subject: vhdl: move sem* packages to vhdl children. --- src/ghdldrv/ghdllocal.adb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/ghdldrv/ghdllocal.adb') diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb index e0f5c6a24..e723f4629 100644 --- a/src/ghdldrv/ghdllocal.adb +++ b/src/ghdldrv/ghdllocal.adb @@ -20,7 +20,7 @@ with Ada.Command_Line; with GNAT.Directory_Operations; with Types; use Types; with Libraries; -with Sem_Lib; +with Vhdl.Sem_Lib; with Std_Package; with Flags; with Name_Table; @@ -638,7 +638,7 @@ package body Ghdllocal is for I in Args'Range loop Id := Get_Identifier (Args (I).all); - Design_File := Sem_Lib.Load_File_Name (Id); + Design_File := Vhdl.Sem_Lib.Load_File_Name (Id); if Design_File /= Null_Iir then Unit := Get_First_Design_Unit (Design_File); while Unit /= Null_Iir loop @@ -699,7 +699,7 @@ package body Ghdllocal is -- Parse all files. for I in Args'Range loop Id := Name_Table.Get_Identifier (Args (I).all); - Design_File := Sem_Lib.Load_File_Name (Id); + Design_File := Vhdl.Sem_Lib.Load_File_Name (Id); if Design_File /= Null_Iir then Unit := Get_First_Design_Unit (Design_File); while Unit /= Null_Iir loop @@ -734,7 +734,7 @@ package body Ghdllocal is | Date_Analyzed => null; when Date_Parsed => - Sem_Lib.Finish_Compilation (Unit, False); + Vhdl.Sem_Lib.Finish_Compilation (Unit, False); when others => raise Internal_Error; end case; @@ -809,7 +809,7 @@ package body Ghdllocal is Put (File_Name); Put_Line (":"); end if; - Design_File := Sem_Lib.Load_File_Name (Id); + Design_File := Vhdl.Sem_Lib.Load_File_Name (Id); if Design_File = Null_Iir then return; end if; @@ -822,7 +822,7 @@ package body Ghdllocal is New_Line; end if; -- Sem, canon, annotate a design unit. - Sem_Lib.Finish_Compilation (Unit, True); + Vhdl.Sem_Lib.Finish_Compilation (Unit, True); Next_Unit := Get_Chain (Unit); if Errorout.Nbr_Errors = 0 then @@ -1266,14 +1266,14 @@ package body Ghdllocal is Set_Design_File_Source (File, Fe); Unit := Get_First_Design_Unit (File); while Unit /= Null_Iir loop - Sem_Lib.Load_Parse_Design_Unit (Unit, Null_Iir); + Vhdl.Sem_Lib.Load_Parse_Design_Unit (Unit, Null_Iir); Extract_Library_Clauses (Unit); Unit := Get_Chain (Unit); end loop; else -- File has been modified. -- Parse it. - Design_File := Sem_Lib.Load_File (Fe); + Design_File := Vhdl.Sem_Lib.Load_File (Fe); -- Exit now in case of parse error. if Design_File = Null_Iir @@ -1391,7 +1391,7 @@ package body Ghdllocal is Get_File_Checksum (File)) then -- FILE has been modified. - Design_File := Sem_Lib.Load_File (Fe); + Design_File := Vhdl.Sem_Lib.Load_File (Fe); if Design_File /= Null_Iir then Libraries.Add_Design_File_Into_Library (Design_File); end if; -- cgit v1.2.3