diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-10-24 10:59:27 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-10-24 10:59:27 +0200 |
commit | eae43e2db430c951018b5cb70f047de84ad010b0 (patch) | |
tree | 1634d2ea611c97b5a9dfe889ea097f8718cfea67 /frontends | |
parent | 77726fb5fe2bdf76ac8146e05bb776af99eb0f51 (diff) | |
download | yosys-eae43e2db430c951018b5cb70f047de84ad010b0.tar.gz yosys-eae43e2db430c951018b5cb70f047de84ad010b0.tar.bz2 yosys-eae43e2db430c951018b5cb70f047de84ad010b0.zip |
Fixed handling of boolean attributes (kernel)
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/parser.y b/frontends/verilog/parser.y index ba0efcf51..59d0a5700 100644 --- a/frontends/verilog/parser.y +++ b/frontends/verilog/parser.y @@ -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 { |