aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/elab-vhdl_stmts.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_stmts.adb b/src/synth/elab-vhdl_stmts.adb
index d3667b0e4..0deb80b5a 100644
--- a/src/synth/elab-vhdl_stmts.adb
+++ b/src/synth/elab-vhdl_stmts.adb
@@ -107,7 +107,7 @@ package body Elab.Vhdl_Stmts is
Ival := Create_Value_Discrete (Read_Discrete (Val), It_Rng);
Sub_Inst := Elab_Generate_Statement_Body
- (Syn_Inst, Bod, Config, Iterator, Ival);
+ (Gen_Inst, Bod, Config, Iterator, Ival);
Set_Generate_Sub_Instance (Gen_Inst, Positive (I), Sub_Inst);
Update_Index (It_Rng.Drange, Val);