mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 10:35:38 +00:00
Fixed handling of boolean attributes (kernel)
This commit is contained in:
parent
77726fb5fe
commit
eae43e2db4
3 changed files with 22 additions and 10 deletions
|
@ -179,7 +179,7 @@ attr_assign:
|
|||
hierarchical_id {
|
||||
if (attr_list.count(*$1) != 0)
|
||||
delete attr_list[*$1];
|
||||
attr_list[*$1] = AstNode::mkconst_int(0, false, 0);
|
||||
attr_list[*$1] = AstNode::mkconst_int(1, false);
|
||||
delete $1;
|
||||
} |
|
||||
hierarchical_id '=' expr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue