projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fb12a
)
Make mask-and-shift the default for bitselwrite
author
Claire Wolf
<claire@symbioticeda.com>
Thu, 16 Apr 2020 10:11:52 +0000
(12:11 +0200)
committer
Claire Wolf
<claire@symbioticeda.com>
Thu, 16 Apr 2020 10:11:52 +0000
(12:11 +0200)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index 18ad6926f204fbc4d712b7037df7d5fef56d5e7f..2ebe2edbcded03f9e89646e50e89bccd345bbe92 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-1753,7
+1753,7
@@
bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
result_width = abs(int(left_at_zero_ast->integer - right_at_zero_ast->integer)) + 1;
}
- if (
1
)
+ if (
0
)
{
// big case block