aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/synth-insts.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 2044233ad..85845c09b 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -580,7 +580,7 @@ package body Synth.Insts is
Port := Get_Output (Inst, Nbr_Outputs);
Port := Builders.Build_Port (Get_Build (Syn_Inst), Port);
O := Create_Value_Net
- (Port, Get_Value_Type (Syn_Inst, Get_Type (Inter)));
+ (Port, Get_Value_Type (Comp_Inst, Get_Type (Inter)));
Synth_Assignment (Syn_Inst, Actual, O, Assoc);
Nbr_Outputs := Nbr_Outputs + 1;
end case;