mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-10 08:03:26 +00:00
messy
This commit is contained in:
parent
1acbb5b89b
commit
d9943b3727
12 changed files with 1132 additions and 1108 deletions
|
@ -2543,7 +2543,7 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin
|
|||
for (size_t i = 0; i < children.size(); i++)
|
||||
if (children[i]->type == AST_WIRE || children[i]->type == AST_MEMORY || children[i]->type == AST_PARAMETER || children[i]->type == AST_LOCALPARAM || children[i]->type == AST_TYPEDEF)
|
||||
{
|
||||
log_assert(!VERILOG_FRONTEND::sv_mode);
|
||||
log_assert(!sv_mode);
|
||||
children[i]->input_error("Local declaration in unnamed block is only supported in SystemVerilog mode!\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue