mirror of https://github.com/YosysHQ/yosys.git
Grammar
This commit is contained in:
parent
31f6d74552
commit
849e0eeab4
|
@ -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);
|
bool sub = (sig_ci == State::S1 && sig_bi == State::S1);
|
||||||
|
|
||||||
// If not a subtraction, yet there is a carry or B is inverted
|
// 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))
|
if (!sub && (sig_ci != State::S0 || sig_bi != State::S0))
|
||||||
goto next_cell;
|
goto next_cell;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue