3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

Revert "In sat: 'x' in init attr should not override constant"

This reverts commit 2b37a093e9.
This commit is contained in:
Eddie Hung 2019-08-26 17:52:57 -07:00
parent 54422c5bb4
commit 6b5e65919a
3 changed files with 1 additions and 7 deletions

View file

@ -268,8 +268,6 @@ struct SatHelper
RTLIL::SigSpec removed_bits;
for (int i = 0; i < lhs.size(); i++) {
RTLIL::SigSpec bit = lhs.extract(i, 1);
if (bit.is_fully_const() && rhs[i] == State::Sx)
rhs[i] = bit;
if (!satgen.initial_state.check_all(bit)) {
removed_bits.append(bit);
lhs.remove(i, 1);