projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f6d74
)
Grammar
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 9 Aug 2019 19:43:21 +0000
(12:43 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 9 Aug 2019 19:43:21 +0000
(12:43 -0700)
passes/opt/opt_expr.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_expr.cc
b/passes/opt/opt_expr.cc
index 0ddfa5e4ca731707af9176b5a2320378784b4f13..66f360f6e0a8797e6735b671dd1927ad3942428c 100644
(file)
--- a/
passes/opt/opt_expr.cc
+++ b/
passes/opt/opt_expr.cc
@@
-684,7
+684,7
@@
void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
bool sub = (sig_ci == State::S1 && sig_bi == State::S1);
// If not a subtraction, yet there is a carry or B is inverted
- // then no optimisation is possible as carry
is not
constant
+ // then no optimisation is possible as carry
will not be
constant
if (!sub && (sig_ci != State::S0 || sig_bi != State::S0))
goto next_cell;