summaryrefslogtreecommitdiffstats
path: root/src/sat/bmc/bmcMaj.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-12-06 14:34:03 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2017-12-06 14:34:03 -0800
commit93b96fc35c50123eb48b04d212394036dd8a8109 (patch)
tree42a8c29f7beb70e265bc9180ee07d8605a0c4c85 /src/sat/bmc/bmcMaj.c
parentc6b962efc803c5d258302e2b8bdf33efb219bc5b (diff)
downloadabc-93b96fc35c50123eb48b04d212394036dd8a8109.tar.gz
abc-93b96fc35c50123eb48b04d212394036dd8a8109.tar.bz2
abc-93b96fc35c50123eb48b04d212394036dd8a8109.zip
An improvement to 'twoexact' and 'lutexact'.
Diffstat (limited to 'src/sat/bmc/bmcMaj.c')
-rw-r--r--src/sat/bmc/bmcMaj.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sat/bmc/bmcMaj.c b/src/sat/bmc/bmcMaj.c
index 97322eae..4700b1d4 100644
--- a/src/sat/bmc/bmcMaj.c
+++ b/src/sat/bmc/bmcMaj.c
@@ -447,7 +447,11 @@ int Exa_ManMarkup( Exa_Man_t * p )
continue;
}
#endif
+#ifdef USE_LESS_VARS
for ( j = 1 - k; j < i - k; j++ )
+#else
+ for ( j = 0; j < i - k; j++ )
+#endif
{
Vec_WecPush( p->vOutLits, j, Abc_Var2Lit(p->iVar, 0) );
p->VarMarks[i][k][j] = p->iVar++;
@@ -828,7 +832,11 @@ static int Exa3_ManMarkup( Exa3_Man_t * p )
continue;
}
#endif
+#ifdef USE_LESS_VARS
for ( j = p->nLutSize - 1 - k; j < i - k; j++ )
+#else
+ for ( j = 0; j < i - k; j++ )
+#endif
{
Vec_WecPush( p->vOutLits, j, Abc_Var2Lit(p->iVar, 0) );
p->VarMarks[i][k][j] = p->iVar++;