From bdc4fd0e92913961c6e3728d8d4976022514dc23 Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Sun, 7 Mar 2021 16:06:25 -0500 Subject: [PATCH] Fix param without default log line --- frontends/ast/ast.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index af5e326ad..0cfde0fc3 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -1248,7 +1248,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump for (const AstNode *node : (*it)->children) if (node->type == AST_PARAMETER && param_has_no_default(node)) { - log("Deferring `%s' because it contains parameter(s) without defaults.\n", ast->str.c_str()); + log("Deferring `%s' because it contains parameter(s) without defaults.\n", (*it)->str.c_str()); defer_local = true; break; } -- 2.30.2