aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-insts.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index c2bb5d580..93b8a510e 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -727,6 +727,7 @@ package body Synth.Insts is
Port : Net;
begin
Port := Builders.Build_Port (Get_Build (Syn_Inst), Outp);
+ Set_Location (Port, Assoc);
Iassoc := Get_Chain (Assoc);
while Iassoc /= Null_Node
@@ -775,6 +776,7 @@ package body Synth.Insts is
-- Create a port gate (so that is has a name).
Port := Builders.Build_Port (Get_Build (Syn_Inst), Outp);
+ Set_Location (Port, Assoc);
O := Create_Value_Net (Port, Formal_Typ);
-- Assign the port output to the actual (a net).
Synth_Assignment (Syn_Inst, Actual, O, Assoc);