aboutsummaryrefslogtreecommitdiffstats
path: root/src/simul/simul-vhdl_simul.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-09-17 19:14:54 +0200
committerTristan Gingold <tgingold@free.fr>2022-09-17 19:14:54 +0200
commit9756cfb38ea8ed8e9d1e92354ec8849b16bb00f1 (patch)
tree6745d259c00e6e5827bf00ab7a7165e90e30bd1e /src/simul/simul-vhdl_simul.adb
parent69ee33d1f0e4559b868068c955ef9c24f0438a11 (diff)
downloadghdl-9756cfb38ea8ed8e9d1e92354ec8849b16bb00f1.tar.gz
ghdl-9756cfb38ea8ed8e9d1e92354ec8849b16bb00f1.tar.bz2
ghdl-9756cfb38ea8ed8e9d1e92354ec8849b16bb00f1.zip
simul: use synth_declarations for processes and procedures
Diffstat (limited to 'src/simul/simul-vhdl_simul.adb')
-rw-r--r--src/simul/simul-vhdl_simul.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simul/simul-vhdl_simul.adb b/src/simul/simul-vhdl_simul.adb
index 28c13d941..2f3c2ef87 100644
--- a/src/simul/simul-vhdl_simul.adb
+++ b/src/simul/simul-vhdl_simul.adb
@@ -40,7 +40,6 @@ with Elab.Debugger;
with Elab.Vhdl_Objtypes; use Elab.Vhdl_Objtypes;
with Elab.Vhdl_Values; use Elab.Vhdl_Values;
with Elab.Vhdl_Types;
-with Elab.Vhdl_Decls;
with Elab.Vhdl_Debug;
with Trans_Analyzes;
@@ -49,6 +48,7 @@ with Synth.Errors;
with Synth.Vhdl_Stmts; use Synth.Vhdl_Stmts;
with Synth.Vhdl_Expr;
with Synth.Vhdl_Oper;
+with Synth.Vhdl_Decls;
with Synth.Vhdl_Static_Proc;
with Synth.Flags;
with Synth.Ieee.Std_Logic_1164; use Synth.Ieee.Std_Logic_1164;
@@ -795,7 +795,7 @@ package body Simul.Vhdl_Simul is
(Sub_Inst, Inst, Inter_Chain, Assoc_Chain);
Process.Instance := Sub_Inst;
- Elab.Vhdl_Decls.Elab_Declarations
+ Synth.Vhdl_Decls.Synth_Declarations
(Sub_Inst, Get_Declaration_Chain (Bod), True);
if Get_Suspend_Flag (Bod) then