aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-inference.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-02-16 21:26:02 +0100
committerTristan Gingold <tgingold@free.fr>2020-02-16 21:26:02 +0100
commitafcc1dfd0c7fcf6c3a4a07dc1d8fc82f4ed0d96b (patch)
treeab0c2343ff48eef67d5383b6bc8c67e18325e691 /src/synth/netlists-inference.adb
parente4aa89cdea6022a34cf0dc2bedfd7f1486f3dde0 (diff)
downloadghdl-afcc1dfd0c7fcf6c3a4a07dc1d8fc82f4ed0d96b.tar.gz
ghdl-afcc1dfd0c7fcf6c3a4a07dc1d8fc82f4ed0d96b.tar.bz2
ghdl-afcc1dfd0c7fcf6c3a4a07dc1d8fc82f4ed0d96b.zip
netlists-inference: remove useless code.
Diffstat (limited to 'src/synth/netlists-inference.adb')
-rw-r--r--src/synth/netlists-inference.adb10
1 files changed, 0 insertions, 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;