aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/netlists-inference.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb
index 00a029ea2..6da07e19a 100644
--- a/src/synth/netlists-inference.adb
+++ b/src/synth/netlists-inference.adb
@@ -355,7 +355,7 @@ package body Netlists.Inference is
Prev := Build2_Extract (Ctxt, Prev_Val, Off, Get_Width (Data));
Ndata := Build_Mux2 (Ctxt, Clk_Enable, Prev, Data);
- Copy_Location (Ndata, Clk_Enable);
+ Set_Location (Ndata, Loc);
end;
else
Ndata := Data;