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 94d1734ec..b1d8c79dd 100644
--- a/src/synth/synth-inference.adb
+++ b/src/synth/synth-inference.adb
@@ -493,7 +493,7 @@ package body Synth.Inference is
end loop;
end;
else
- Name := Get_Name (Get_Net_Parent (Prev_Val));
+ Name := Get_Instance_Name (Get_Net_Parent (Prev_Val));
end if;
Error_Msg_Synth (+Stmt, "latch infered for net %n", +Name);