aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-inference.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-inference.adb')
-rw-r--r--src/synth/synth-inference.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-inference.adb b/src/synth/synth-inference.adb
index 0b7327512..3dd919404 100644
--- a/src/synth/synth-inference.adb
+++ b/src/synth/synth-inference.adb
@@ -284,7 +284,7 @@ package body Synth.Inference is
end if;
-- The parent must be a mux (it's a chain of muxes).
- Mux := Get_Parent (Get_First_Sink (Last_Out));
+ Mux := Get_Input_Parent (Get_First_Sink (Last_Out));
pragma Assert (Get_Id (Mux) = Id_Mux2);
-- Extract the reset condition and the reset value.