projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae0e75
)
Fixed "sat -initsteps" off-by-one bug
author
Clifford Wolf
<clifford@clifford.at>
Sun, 22 Feb 2015 11:42:05 +0000
(12:42 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 22 Feb 2015 11:42:05 +0000
(12:42 +0100)
passes/sat/sat.cc
patch
|
blob
|
history
diff --git
a/passes/sat/sat.cc
b/passes/sat/sat.cc
index b998359dde010213eced2c2f78c99c8718ef46cd..79d1ec8600c892007a2917e9d75ed15cc827e96c 100644
(file)
--- a/
passes/sat/sat.cc
+++ b/
passes/sat/sat.cc
@@
-1436,7
+1436,7
@@
struct SatPass : public Pass {
if (inductlen > 1)
inductstep.force_unique_state(1, inductlen + 1);
- if (inductlen <
tempinduct_skip || inductlen <
initsteps || inductlen % stepsize != 0)
+ if (inductlen <
= tempinduct_skip || inductlen <=
initsteps || inductlen % stepsize != 0)
{
if (inductlen < tempinduct_skip)
log("\n[induction step %d] Skipping prove for this step (-tempinduct-skip %d).",