aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Snow <zach@zachjs.com>2021-02-25 16:02:55 -0500
committerZachary Snow <zachary.j.snow@gmail.com>2021-02-26 12:11:23 -0500
commit22bed385401a41b297790c3388b2e452cc037b54 (patch)
treef54575a1fa9c5bfa0a8ea411786b7364316c3e19
parent5d0cc54f5c36dea1d989438426a321b4554257c8 (diff)
downloadyosys-22bed385401a41b297790c3388b2e452cc037b54.tar.gz
yosys-22bed385401a41b297790c3388b2e452cc037b54.tar.bz2
yosys-22bed385401a41b297790c3388b2e452cc037b54.zip
Extend simplify() recursion warning
-rw-r--r--frontends/ast/simplify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 6b4b9e045..babd8c562 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -571,7 +571,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
static bool deep_recursion_warning = false;
if (recursion_counter++ == 1000 && deep_recursion_warning) {
- log_warning("Deep recursion in AST simplifier.\nDoes this design contain insanely long expressions?\n");
+ log_warning("Deep recursion in AST simplifier.\nDoes this design contain overly long or deeply nested expressions, or excessive recursion?\n");
deep_recursion_warning = false;
}