mirror of https://github.com/YosysHQ/yosys.git
Allow $anyconst, etc. in non-formal SV mode
This commit is contained in:
parent
180d704568
commit
5b3b5ffc8c
|
@ -1319,7 +1319,7 @@ rvalue:
|
|||
$$ = new AstNode(AST_IDENTIFIER, $2);
|
||||
$$->str = *$1;
|
||||
delete $1;
|
||||
if ($2 == nullptr && formal_mode && ($$->str == "\\$initstate" || $$->str == "\\$anyconst" || $$->str == "\\$anyseq"))
|
||||
if ($2 == nullptr && ($$->str == "\\$initstate" || $$->str == "\\$anyconst" || $$->str == "\\$anyseq"))
|
||||
$$->type = AST_FCALL;
|
||||
} |
|
||||
hierarchical_id non_opt_multirange {
|
||||
|
|
Loading…
Reference in New Issue