From 38848c600d7d15940ccc39aa7f764547a37b936a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 2 Jul 2020 18:59:10 +0200 Subject: synth-insts: set location on ports. For #1387 --- src/synth/synth-insts.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3