aboutsummaryrefslogtreecommitdiffstats
path: root/passes/sat
diff options
context:
space:
mode:
Diffstat (limited to 'passes/sat')
-rw-r--r--passes/sat/sat.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/passes/sat/sat.cc b/passes/sat/sat.cc
index 4492fc2b7..cbba738f0 100644
--- a/passes/sat/sat.cc
+++ b/passes/sat/sat.cc
@@ -1548,20 +1548,17 @@ struct SatPass : public Pass {
print_proof_failed();
tip_failed:
- design->scratchpad_set_bool("sat.success", false);
if (verify) {
log("\n");
log_error("Called with -verify and proof did fail!\n");
}
- if (0) {
+ if (0)
tip_success:
- design->scratchpad_set_bool("sat.success", true);
if (falsify) {
log("\n");
log_error("Called with -falsify and proof did succeed!\n");
}
- }
}
else
{
@@ -1631,7 +1628,6 @@ struct SatPass : public Pass {
if (sathelper.solve())
{
- design->scratchpad_set_bool("sat.success", false);
if (max_undef) {
log("SAT model found. maximizing number of undefs.\n");
sathelper.maximize_undefs();
@@ -1671,7 +1667,6 @@ struct SatPass : public Pass {
}
else
{
- design->scratchpad_set_bool("sat.success", true);
if (sathelper.gotTimeout)
goto timeout;
if (rerun_counter)