From afcc1dfd0c7fcf6c3a4a07dc1d8fc82f4ed0d96b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 16 Feb 2020 21:26:02 +0100 Subject: netlists-inference: remove useless code. --- src/synth/netlists-inference.adb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb index aca4792f6..9f82e7207 100644 --- a/src/synth/netlists-inference.adb +++ b/src/synth/netlists-inference.adb @@ -510,16 +510,6 @@ package body Netlists.Inference is end if; Copy_Location (Res, Last_Mux); - -- The output of the mux may be read later in the process, - -- like this: - -- if clk'event and clk = '1' then - -- d := i + 1; - -- end if; - -- d1 := d + 1; - -- So connections to the mux output are redirected to dff - -- output. - Redirect_Inputs (O, Res); - Free_Instance (Last_Mux); return Res; -- cgit v1.2.3