Merge pull request #2643 from zachjs/fix-param-no-default-log

Fix param without default log line
This commit is contained in:
whitequark 2021-03-08 16:36:03 -08:00 committed by GitHub
commit 26e01a67db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1250,7 +1250,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;
}