mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2643 from zachjs/fix-param-no-default-log
Fix param without default log line
This commit is contained in:
commit
26e01a67db
|
@ -1250,7 +1250,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump
|
||||||
for (const AstNode *node : (*it)->children)
|
for (const AstNode *node : (*it)->children)
|
||||||
if (node->type == AST_PARAMETER && param_has_no_default(node))
|
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;
|
defer_local = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue