aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlcomp.adb8
-rw-r--r--src/ghdldrv/ghdllocal.adb18
-rw-r--r--src/ghdldrv/ghdlprint.adb6
-rw-r--r--src/ghdldrv/ghdlxml.adb2
4 files changed, 17 insertions, 17 deletions
diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb
index 1a6aea6d6..2ac085d9c 100644
--- a/src/ghdldrv/ghdlcomp.adb
+++ b/src/ghdldrv/ghdlcomp.adb
@@ -24,8 +24,8 @@ with Ada.Text_IO;
with Types;
with Flags;
-with Sem;
-with Sem_Lib; use Sem_Lib;
+with Vhdl.Sem;
+with Vhdl.Sem_Lib; use Vhdl.Sem_Lib;
with Name_Table;
with Errorout; use Errorout;
with Libraries;
@@ -276,7 +276,7 @@ package body Ghdlcomp is
-- Do late analysis checks.
Unit := Get_First_Design_Unit (New_Design_File);
while Unit /= Null_Iir loop
- Sem.Sem_Analysis_Checks_List
+ Vhdl.Sem.Sem_Analysis_Checks_List
(Unit, Is_Warning_Enabled (Warnid_Delayed_Checks));
Unit := Get_Chain (Unit);
end loop;
@@ -460,7 +460,7 @@ package body Ghdlcomp is
if New_Design_File /= Null_Iir then
Unit := Get_First_Design_Unit (New_Design_File);
while Unit /= Null_Iir loop
- Sem.Sem_Analysis_Checks_List
+ Vhdl.Sem.Sem_Analysis_Checks_List
(Unit, Is_Warning_Enabled (Warnid_Delayed_Checks));
Unit := Get_Chain (Unit);
end loop;
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;
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 4738c6f7e..90a387d8a 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -33,7 +33,7 @@ with Vhdl.Parse;
with Vhdl.Canon;
with Version;
with Xrefs;
-with Sem_Lib; use Sem_Lib;
+with Vhdl.Sem_Lib; use Vhdl.Sem_Lib;
with Ghdlmain; use Ghdlmain;
with Ghdllocal; use Ghdllocal;
with Vhdl.Disp_Vhdl;
@@ -1002,7 +1002,7 @@ package body Ghdlprint is
Unit := Get_First_Design_Unit (Design_File);
while Unit /= Null_Iir loop
-- Analyze the 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
@@ -1284,7 +1284,7 @@ package body Ghdlprint is
| Date_Disk =>
raise Internal_Error;
when Date_Parse =>
- Sem_Lib.Load_Design_Unit (Unit, Unit);
+ Vhdl.Sem_Lib.Load_Design_Unit (Unit, Unit);
if Errorout.Nbr_Errors /= 0 then
raise Compilation_Error;
end if;
diff --git a/src/ghdldrv/ghdlxml.adb b/src/ghdldrv/ghdlxml.adb
index 32cbadb13..34dab448c 100644
--- a/src/ghdldrv/ghdlxml.adb
+++ b/src/ghdldrv/ghdlxml.adb
@@ -26,7 +26,7 @@ with Ghdlprint; use Ghdlprint;
with Libraries;
with Errorout; use Errorout;
with Iirs; use Iirs;
-with Sem_Lib; use Sem_Lib;
+with Vhdl.Sem_Lib; use Vhdl.Sem_Lib;
with Ghdlmain; use Ghdlmain;
with Ghdllocal; use Ghdllocal;