diff options
Diffstat (limited to 'src/synth/netlists-inference.adb')
-rw-r--r-- | src/synth/netlists-inference.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb index 4e79e7680..574eed408 100644 --- a/src/synth/netlists-inference.adb +++ b/src/synth/netlists-inference.adb @@ -669,7 +669,7 @@ package body Netlists.Inference is -- is read). So redirect the net. Redirect_Inputs (Get_Output (Last_Mux, 0), Res); if Prev_Mux /= No_Instance then - Free_Instance (Prev_Mux); + Remove_Instance (Prev_Mux); end if; return Res; |