mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Added AST_INITIAL (before verilog "initial" was mapped to AST_ALWAYS)
This commit is contained in:
parent
5640b7d607
commit
161565be10
5 changed files with 15 additions and 3 deletions
|
@ -607,7 +607,7 @@ always_stmt:
|
|||
ast_stack.pop_back();
|
||||
} |
|
||||
attr TOK_INITIAL {
|
||||
AstNode *node = new AstNode(AST_ALWAYS);
|
||||
AstNode *node = new AstNode(AST_INITIAL);
|
||||
append_attr(node, $1);
|
||||
ast_stack.back()->children.push_back(node);
|
||||
ast_stack.push_back(node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue