aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_decls.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-11 05:21:40 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-11 05:21:40 +0200
commitfe2afd6a3dd1a9a1234ca095fd63d0e8c999a4d7 (patch)
treea6138c037a8c16f8dae637ff94b2dd9400377ce8 /src/synth/elab-vhdl_decls.ads
parent0a81d6f1ec4106a8e8c90fe455269382e87cc48d (diff)
downloadghdl-fe2afd6a3dd1a9a1234ca095fd63d0e8c999a4d7.tar.gz
ghdl-fe2afd6a3dd1a9a1234ca095fd63d0e8c999a4d7.tar.bz2
ghdl-fe2afd6a3dd1a9a1234ca095fd63d0e8c999a4d7.zip
synth: add a flag to force creation of variables
Diffstat (limited to 'src/synth/elab-vhdl_decls.ads')
-rw-r--r--src/synth/elab-vhdl_decls.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_decls.ads b/src/synth/elab-vhdl_decls.ads
index 5937e1f58..8e45897b1 100644
--- a/src/synth/elab-vhdl_decls.ads
+++ b/src/synth/elab-vhdl_decls.ads
@@ -26,9 +26,12 @@ package Elab.Vhdl_Decls is
procedure Elab_Declaration (Syn_Inst : Synth_Instance_Acc;
Decl : Node;
+ Force_Init : Boolean;
Last_Type : in out Node);
- procedure Elab_Declarations (Syn_Inst : Synth_Instance_Acc; Decls : Iir);
+ procedure Elab_Declarations (Syn_Inst : Synth_Instance_Acc;
+ Decls : Iir;
+ Force_Init : Boolean := False);
procedure Finalize_Declaration (Syn_Inst : Synth_Instance_Acc;
Decl : Iir;