mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 02:25:35 +00:00
Added $anyconst and $aconst
This commit is contained in:
parent
a7b0769623
commit
4056312987
7 changed files with 83 additions and 2 deletions
|
@ -1219,7 +1219,7 @@ rvalue:
|
|||
$$ = new AstNode(AST_IDENTIFIER, $2);
|
||||
$$->str = *$1;
|
||||
delete $1;
|
||||
if ($2 == nullptr && $$->str == "\\$initstate")
|
||||
if ($2 == nullptr && formal_mode && ($$->str == "\\$initstate" || $$->str == "\\$anyconst" || $$->str == "\\$aconst"))
|
||||
$$->type = AST_FCALL;
|
||||
} |
|
||||
hierarchical_id non_opt_multirange {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue