aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-insts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r--src/synth/synth-insts.adb7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 721671e1e..74d0673f5 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -307,7 +307,7 @@ package body Synth.Insts is
Port := Builders.Build_Port (Build_Context, Port);
O := Create_Value_Net
(Port, Get_Value_Type (Inst_Obj.Syn_Inst, Get_Type (Inter)));
- Synth_Assignment (Syn_Inst, Actual, O);
+ Synth_Assignment (Syn_Inst, Actual, O, Assoc);
Nbr_Outputs := Nbr_Outputs + 1;
end case;
Next_Association_Interface (Assoc, Assoc_Inter);
@@ -577,8 +577,9 @@ package body Synth.Insts is
| Port_Inout =>
Port := Get_Output (Inst, Nbr_Outputs);
Port := Builders.Build_Port (Build_Context, Port);
- O := Create_Value_Net (Port, null);
- Synth_Assignment (Syn_Inst, Actual, O);
+ O := Create_Value_Net
+ (Port, Get_Value_Type (Syn_Inst, Get_Type (Inter)));
+ Synth_Assignment (Syn_Inst, Actual, O, Assoc);
Nbr_Outputs := Nbr_Outputs + 1;
end case;
Next_Association_Interface (Assoc, Assoc_Inter);