aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-26 17:52:57 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-26 17:52:57 -0700
commit6b5e65919a6ec14d4bfc85f80d1f7492d5b86c16 (patch)
tree8cc15936e0efcf99a0d02b1feaa7d298cbefb8a4 /passes
parent54422c5bb4cdd3488fa1849af9049d0f4bb24603 (diff)
downloadyosys-6b5e65919a6ec14d4bfc85f80d1f7492d5b86c16.tar.gz
yosys-6b5e65919a6ec14d4bfc85f80d1f7492d5b86c16.tar.bz2
yosys-6b5e65919a6ec14d4bfc85f80d1f7492d5b86c16.zip
Revert "In sat: 'x' in init attr should not override constant"
This reverts commit 2b37a093e95036b267481b2dae2046278eef4040.
Diffstat (limited to 'passes')
-rw-r--r--passes/sat/sat.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/passes/sat/sat.cc b/passes/sat/sat.cc
index bcc690fa3..dd56d8c71 100644
--- a/passes/sat/sat.cc
+++ b/passes/sat/sat.cc
@@ -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);