3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-25 18:15:34 +00:00

Added $initstate cell type and vlog function

This commit is contained in:
Clifford Wolf 2016-07-21 14:23:22 +02:00
parent d7763634b6
commit 5c166e76e5
7 changed files with 54 additions and 4 deletions

View file

@ -1189,6 +1189,8 @@ rvalue:
$$ = new AstNode(AST_IDENTIFIER, $2);
$$->str = *$1;
delete $1;
if ($2 == nullptr && $$->str == "\\$initstate")
$$->type = AST_FCALL;
} |
hierarchical_id non_opt_multirange {
$$ = new AstNode(AST_IDENTIFIER, $2);