aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate/elaboration.adb
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2015-11-30 06:43:17 +0100
committerTristan Gingold <gingold@adacore.com>2015-11-30 20:10:25 +0100
commit7379c1371f2a83edbdf125a20b7565be983932dc (patch)
treef46d8486d4fce2666f3c6a2e6764075967406659 /src/vhdl/simulate/elaboration.adb
parentc3845fa138a76f1369e20bc54016094a75da4df2 (diff)
downloadghdl-7379c1371f2a83edbdf125a20b7565be983932dc.tar.gz
ghdl-7379c1371f2a83edbdf125a20b7565be983932dc.tar.bz2
ghdl-7379c1371f2a83edbdf125a20b7565be983932dc.zip
Fix ghdl_simul build.
Diffstat (limited to 'src/vhdl/simulate/elaboration.adb')
-rw-r--r--src/vhdl/simulate/elaboration.adb16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/vhdl/simulate/elaboration.adb b/src/vhdl/simulate/elaboration.adb
index 18fcd10be..a70a4abc7 100644
--- a/src/vhdl/simulate/elaboration.adb
+++ b/src/vhdl/simulate/elaboration.adb
@@ -27,7 +27,6 @@ with Name_Table;
with File_Operation;
with Debugger; use Debugger;
with Iir_Chains; use Iir_Chains;
-with Sem_Names;
with Grt.Types; use Grt.Types;
with Simulation.AMS; use Simulation.AMS;
with Areapools; use Areapools;
@@ -1009,19 +1008,6 @@ package body Elaboration is
end loop;
end Elaborate_Generic_Map_Aspect;
- -- Return TRUE if EXPR is a signal name.
- function Is_Signal (Expr : Iir) return Boolean
- is
- Obj : Iir;
- begin
- Obj := Sem_Names.Name_To_Object (Expr);
- if Obj /= Null_Iir then
- return Is_Signal_Object (Obj);
- else
- return False;
- end if;
- end Is_Signal;
-
-- LRM93 12.2.3 The Port Clause
procedure Elaborate_Port_Declaration
(Instance : Block_Instance_Acc;
@@ -1112,7 +1098,7 @@ package body Elaboration is
and then Get_Out_Conversion (Assoc) = Null_Iir
then
Actual := Get_Actual (Assoc);
- if Is_Signal (Actual) then
+ if Is_Signal_Name (Actual) then
-- Association with a signal
Init_Expr := Execute_Signal_Init_Value
(Actual_Instance, Actual);