aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-inference.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-inference.adb')
-rw-r--r--src/synth/netlists-inference.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth/netlists-inference.adb b/src/synth/netlists-inference.adb
index 07bfddc9b..5850ad204 100644
--- a/src/synth/netlists-inference.adb
+++ b/src/synth/netlists-inference.adb
@@ -469,7 +469,9 @@ package body Netlists.Inference is
end if;
if Els_Clk = No_Net then
Error_Msg_Netlist
- (Mux_Loc, "clocked logic requires clocked logic on else part");
+ (Mux_Loc,
+ "clocked logic requires clocked logic on else part for net %n",
+ (1 => +Get_Net_Parent (Prev_Val)));
Els := No_Net;
else
-- Create and return the DFF.